19
19
graphql-internal/no-dir-import : error
20
20
21
21
# #############################################################################
22
- # `eslint-plugin-flowtype` rule list based on `v4.6 .x`
22
+ # `eslint-plugin-flowtype` rule list based on `v4.7 .x`
23
23
# https://github.com/gajus/eslint-plugin-flowtype#eslint-plugin-flowtype
24
24
# #############################################################################
25
25
@@ -439,9 +439,10 @@ overrides:
439
439
- plugin:import/typescript
440
440
rules :
441
441
flowtype/require-valid-file-annotation : off
442
+ flowtype/no-types-missing-file-annotation : off
442
443
443
444
# #########################################################################
444
- # `@typescript-eslint/eslint-plugin` rule list based on `v2.21 .x`
445
+ # `@typescript-eslint/eslint-plugin` rule list based on `v2.26 .x`
445
446
# #########################################################################
446
447
447
448
# Supported Rules
@@ -451,6 +452,7 @@ overrides:
451
452
' @typescript-eslint/await-thenable ' : error
452
453
' @typescript-eslint/ban-ts-comment ' : error
453
454
' @typescript-eslint/ban-types ' : error
455
+ ' @typescript-eslint/class-literal-property-style ' : off
454
456
' @typescript-eslint/consistent-type-assertions ' :
455
457
[error, { assertionStyle : as, objectLiteralTypeAssertions: never }]
456
458
' @typescript-eslint/consistent-type-definitions ' : off # TODO consider
@@ -485,6 +487,9 @@ overrides:
485
487
' @typescript-eslint/no-unnecessary-qualifier ' : error
486
488
' @typescript-eslint/no-unnecessary-type-arguments ' : error
487
489
' @typescript-eslint/no-unnecessary-type-assertion ' : error
490
+ ' @typescript-eslint/no-unsafe-call ' : off # TODO consider
491
+ ' @typescript-eslint/no-unsafe-member-access ' : off # TODO consider
492
+ ' @typescript-eslint/no-unsafe-return ' : off # TODO consider
488
493
' @typescript-eslint/no-unused-vars-experimental ' : off
489
494
' @typescript-eslint/no-var-requires ' : error
490
495
' @typescript-eslint/prefer-as-const ' : off # TODO consider
@@ -495,7 +500,7 @@ overrides:
495
500
' @typescript-eslint/prefer-nullish-coalescing ' : error
496
501
' @typescript-eslint/prefer-optional-chain ' : error
497
502
' @typescript-eslint/prefer-readonly ' : error
498
- ' @typescript-eslint/prefer-readonly-parameter-types ' : off # FIXME: crash eslint
503
+ ' @typescript-eslint/prefer-readonly-parameter-types ' : off # TODO consider
499
504
' @typescript-eslint/prefer-regexp-exec ' : error
500
505
' @typescript-eslint/prefer-string-starts-ends-with ' : off # TODO switch to error after IE11 drop
501
506
' @typescript-eslint/promise-function-async ' : off
0 commit comments