Skip to content

Commit 1fd47c9

Browse files
Simplify ESLint config (graphql#2656)
1 parent e45fb12 commit 1fd47c9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.eslintrc.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ plugins:
1111
- node
1212
- istanbul
1313
- import
14+
settings:
15+
flowtype:
16+
onlyFilesWithFlowAnnotation: true
17+
node:
18+
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts']
1419

1520
rules:
1621
##############################################################################
@@ -493,11 +498,7 @@ overrides:
493498
- '@typescript-eslint'
494499
extends:
495500
- plugin:import/typescript
496-
settings:
497-
node:
498-
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts']
499501
rules:
500-
flowtype/require-valid-file-annotation: off
501502
flowtype/no-types-missing-file-annotation: off
502503

503504
##########################################################################

0 commit comments

Comments
 (0)