Skip to content

Commit

Permalink
Simplify ESLint config (#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 15, 2020
1 parent e45fb12 commit 1fd47c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.yml
Expand Up @@ -11,6 +11,11 @@ plugins:
- node
- istanbul
- import
settings:
flowtype:
onlyFilesWithFlowAnnotation: true
node:
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts']

rules:
##############################################################################
Expand Down Expand Up @@ -493,11 +498,7 @@ overrides:
- '@typescript-eslint'
extends:
- plugin:import/typescript
settings:
node:
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts']
rules:
flowtype/require-valid-file-annotation: off
flowtype/no-types-missing-file-annotation: off

##########################################################################
Expand Down

0 comments on commit 1fd47c9

Please sign in to comment.