Skip to content

Commit

Permalink
feat(rules): disable @typescript-eslint/explicit-function-return-type (
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickcr committed Jul 1, 2019
1 parent 761b10f commit eb77e5f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rules/typescript.js
Expand Up @@ -8,13 +8,7 @@ module.exports = {
'@typescript-eslint/ban-ts-ignore': ['off'],
'@typescript-eslint/camelcase': ['error'],
'@typescript-eslint/class-name-casing': ['error'],
'@typescript-eslint/explicit-function-return-type': [
'error',
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
},
],
'@typescript-eslint/explicit-function-return-type': ['off'],
'@typescript-eslint/explicit-member-accessibility': ['error'],
'@typescript-eslint/generic-type-naming': ['error', '^T[A-Z][a-zA-Z]+$'],
'@typescript-eslint/indent': ['off'],
Expand Down

0 comments on commit eb77e5f

Please sign in to comment.