@@ -92,12 +92,7 @@ rules:
9292 import/named : error
9393 import/default : error
9494 import/namespace : error
95- import/no-restricted-paths :
96- - error
97- - basePath : ' ./'
98- zones :
99- - { target: './src', from: 'src/__testUtils__' }
100- - { target: './src', from: 'src/__fixtures__' }
95+ import/no-restricted-paths : off
10196 import/no-absolute-path : error
10297 import/no-dynamic-require : error
10398 import/no-internal-modules : off
@@ -144,7 +139,7 @@ rules:
144139 import/dynamic-import-chunkname : off
145140
146141 # #############################################################################
147- # ESLint builtin rules list based on `v7.8 .x`
142+ # ESLint builtin rules list based on `v7.12 .x`
148143 # #############################################################################
149144
150145 # Possible Errors
@@ -447,7 +442,7 @@ overrides:
447442 node/no-unsupported-features/es-syntax : off
448443
449444 # #########################################################################
450- # `@typescript-eslint/eslint-plugin` rule list based on `v4.0 .x`
445+ # `@typescript-eslint/eslint-plugin` rule list based on `v4.6 .x`
451446 # #########################################################################
452447
453448 # Supported Rules
@@ -458,7 +453,8 @@ overrides:
458453 ' @typescript-eslint/ban-ts-comment ' : [error, { 'ts-expect-error': false }]
459454 ' @typescript-eslint/ban-tslint-comment ' : error
460455 ' @typescript-eslint/ban-types ' : error
461- ' @typescript-eslint/class-literal-property-style ' : off
456+ ' @typescript-eslint/class-literal-property-style ' : error
457+ ' @typescript-eslint/consistent-indexed-object-style ' : off # TODO enable
462458 ' @typescript-eslint/consistent-type-assertions ' :
463459 [error, { assertionStyle : as, objectLiteralTypeAssertions: never }]
464460 ' @typescript-eslint/consistent-type-definitions ' : off # TODO consider
@@ -499,6 +495,7 @@ overrides:
499495 ' @typescript-eslint/no-unnecessary-qualifier ' : error
500496 ' @typescript-eslint/no-unnecessary-type-arguments ' : error
501497 ' @typescript-eslint/no-unnecessary-type-assertion ' : error
498+ ' @typescript-eslint/no-unnecessary-type-constraint ' : off # TODO consider
502499 ' @typescript-eslint/no-unsafe-assignment ' : off # TODO consider
503500 ' @typescript-eslint/no-unsafe-call ' : off # TODO consider
504501 ' @typescript-eslint/no-unsafe-member-access ' : off # TODO consider
@@ -542,6 +539,7 @@ overrides:
542539 no-dupe-class-members : off
543540 no-empty-function : off
544541 no-invalid-this : off
542+ no-loop-func : off
545543 no-loss-of-precision : off
546544 no-redeclare : off
547545 no-shadow : off
@@ -558,12 +556,21 @@ overrides:
558556 ' @typescript-eslint/no-dupe-class-members ' : error
559557 ' @typescript-eslint/no-empty-function ' : error
560558 ' @typescript-eslint/no-invalid-this ' : error
559+ ' @typescript-eslint/no-loop-func ' : error
561560 ' @typescript-eslint/no-loss-of-precision ' : error
562561 ' @typescript-eslint/no-redeclare ' : error
563562 ' @typescript-eslint/no-shadow ' : error
564563 ' @typescript-eslint/no-unused-expressions ' : error
565564 ' @typescript-eslint/no-unused-vars ' :
566- [error, { vars : all, args: all, argsIgnorePattern: '^_' }]
565+ [
566+ error,
567+ {
568+ vars : all,
569+ args : all,
570+ argsIgnorePattern : ' ^_' ,
571+ varsIgnorePattern : ' ^_T' ,
572+ },
573+ ]
567574 ' @typescript-eslint/no-useless-constructor ' : error
568575 ' @typescript-eslint/require-await ' : error
569576 ' @typescript-eslint/return-await ' : error
@@ -572,11 +579,13 @@ overrides:
572579 ' @typescript-eslint/init-declarations ' : off
573580 ' @typescript-eslint/no-magic-numbers ' : off
574581 ' @typescript-eslint/no-use-before-define ' : off
582+ ' @typescript-eslint/no-duplicate-imports ' : off # Superseded by `import/no-duplicates`
575583
576584 # Bellow rules are disabled because coflicts with Prettier, see:
577585 # https://github.com/prettier/eslint-config-prettier/blob/master/%40typescript-eslint.js
578586 ' @typescript-eslint/quotes ' : off
579587 ' @typescript-eslint/brace-style ' : off
588+ ' @typescript-eslint/comma-dangle ' : off
580589 ' @typescript-eslint/comma-spacing ' : off
581590 ' @typescript-eslint/func-call-spacing ' : off
582591 ' @typescript-eslint/indent ' : off
@@ -586,6 +595,7 @@ overrides:
586595 ' @typescript-eslint/no-extra-semi ' : off
587596 ' @typescript-eslint/semi ' : off
588597 ' @typescript-eslint/space-before-function-paren ' : off
598+ ' @typescript-eslint/space-infix-ops ' : off
589599 ' @typescript-eslint/type-annotation-spacing ' : off
590600 - files : ['src/**/__*__/**', 'integrationTests/**']
591601 rules :
0 commit comments