@@ -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
1520rules :
1621 # #############################################################################
2126 internal-rules/no-dir-import : error
2227
2328 # #############################################################################
24- # `eslint-plugin-flowtype` rule list based on `v5.1 .x`
29+ # `eslint-plugin-flowtype` rule list based on `v5.2 .x`
2530 # https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
2631 # #############################################################################
2732
6974 flowtype/union-intersection-spacing : off
7075
7176 # #############################################################################
72- # `eslint-plugin-istanbul` rule list based on `v0.1.1 `
77+ # `eslint-plugin-istanbul` rule list based on `v0.1.2 `
7378 # https://github.com/istanbuljs/eslint-plugin-istanbul#rules
7479 # #############################################################################
7580
@@ -129,7 +134,7 @@ rules:
129134 node/prefer-promises/fs : error
130135
131136 # #############################################################################
132- # `eslint-plugin-import` rule list based on `v2.20 .x`
137+ # `eslint-plugin-import` rule list based on `v2.22 .x`
133138 # #############################################################################
134139
135140 # Static analysis
@@ -190,7 +195,7 @@ rules:
190195 import/dynamic-import-chunkname : off
191196
192197 # #############################################################################
193- # ESLint builtin rules list based on `v7.2 .x`
198+ # ESLint builtin rules list based on `v7.3 .x`
194199 # #############################################################################
195200
196201 # Possible Errors
@@ -222,12 +227,14 @@ rules:
222227 no-loss-of-precision : error
223228 no-misleading-character-class : error
224229 no-obj-calls : error
230+ no-promise-executor-return : off # TODO
225231 no-prototype-builtins : error
226232 no-regex-spaces : error
227233 no-setter-return : error
228234 no-sparse-arrays : error
229235 no-template-curly-in-string : error
230236 no-unreachable : error
237+ no-unreachable-loop : error
231238 no-unsafe-finally : error
232239 no-unsafe-negation : error
233240 no-useless-backreference : error
@@ -487,15 +494,11 @@ overrides:
487494 - ' @typescript-eslint'
488495 extends :
489496 - plugin:import/typescript
490- settings :
491- node :
492- tryExtensions : ['.js', '.json', '.node', '.ts', '.d.ts']
493497 rules :
494- flowtype/require-valid-file-annotation : off
495498 flowtype/no-types-missing-file-annotation : off
496499
497500 # #########################################################################
498- # `@typescript-eslint/eslint-plugin` rule list based on `v3.0 .x`
501+ # `@typescript-eslint/eslint-plugin` rule list based on `v3.5 .x`
499502 # #########################################################################
500503
501504 # Supported Rules
@@ -504,6 +507,7 @@ overrides:
504507 ' @typescript-eslint/array-type ' : [error, { default: generic }]
505508 ' @typescript-eslint/await-thenable ' : error
506509 ' @typescript-eslint/ban-ts-comment ' : [error, { 'ts-expect-error': false }]
510+ ' @typescript-eslint/ban-tslint-comment ' : error
507511 ' @typescript-eslint/ban-types ' : error
508512 ' @typescript-eslint/class-literal-property-style ' : off
509513 ' @typescript-eslint/consistent-type-assertions ' :
@@ -516,6 +520,7 @@ overrides:
516520 ' @typescript-eslint/method-signature-style ' : error
517521 ' @typescript-eslint/naming-convention ' : off # TODO consider
518522 ' @typescript-eslint/no-base-to-string ' : error
523+ ' @typescript-eslint/no-confusing-non-null-assertion ' : error
519524 ' @typescript-eslint/no-dynamic-delete ' : off
520525 ' @typescript-eslint/no-empty-interface ' : error
521526 ' @typescript-eslint/no-explicit-any ' : off # TODO error
@@ -584,6 +589,7 @@ overrides:
584589 no-dupe-class-members : off
585590 no-empty-function : off
586591 no-invalid-this : off
592+ no-loss-of-precision : off
587593 no-unused-expressions : off
588594 no-unused-vars : off
589595 no-useless-constructor : off
@@ -597,6 +603,7 @@ overrides:
597603 ' @typescript-eslint/no-dupe-class-members ' : error
598604 ' @typescript-eslint/no-empty-function ' : error
599605 ' @typescript-eslint/no-invalid-this ' : error
606+ ' @typescript-eslint/no-loss-of-precision ' : error
600607 ' @typescript-eslint/no-unused-expressions ' : error
601608 ' @typescript-eslint/no-unused-vars ' :
602609 [error, { vars : all, args: all, argsIgnorePattern: '^_' }]
@@ -631,7 +638,6 @@ overrides:
631638 import/no-restricted-paths : off
632639 import/no-extraneous-dependencies : [error, { devDependencies: true }]
633640 import/no-nodejs-modules : off
634- no-sync : off
635641 - files : ' integrationTests/**'
636642 parserOptions :
637643 sourceType : script
0 commit comments