Skip to content

Commit 748acff

Browse files
Update deps (#2782)
1 parent c5f3459 commit 748acff

File tree

5 files changed

+337
-149
lines changed

5 files changed

+337
-149
lines changed

.eslintrc.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ rules:
144144
import/dynamic-import-chunkname: off
145145

146146
##############################################################################
147-
# ESLint builtin rules list based on `v7.7.x`
147+
# ESLint builtin rules list based on `v7.8.x`
148148
##############################################################################
149149

150150
# Possible Errors
@@ -505,9 +505,11 @@ overrides:
505505
- plugin:import/typescript
506506
rules:
507507
##########################################################################
508-
# `@typescript-eslint/eslint-plugin` rule list based on `v3.10.x`
508+
# `@typescript-eslint/eslint-plugin` rule list based on `v4.0.x`
509509
##########################################################################
510510

511+
no-undef: off # FIXME: temporary disabled due to https://github.com/typescript-eslint/typescript-eslint/issues/2462
512+
511513
# Supported Rules
512514
# https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules
513515
'@typescript-eslint/adjacent-overload-signatures': error
@@ -520,6 +522,7 @@ overrides:
520522
'@typescript-eslint/consistent-type-assertions':
521523
[error, { assertionStyle: as, objectLiteralTypeAssertions: never }]
522524
'@typescript-eslint/consistent-type-definitions': off # TODO consider
525+
'@typescript-eslint/consistent-type-imports': off # TODO enable after TS conversion
523526
'@typescript-eslint/explicit-function-return-type': off # TODO consider
524527
'@typescript-eslint/explicit-member-accessibility': off # TODO consider
525528
'@typescript-eslint/explicit-module-boundary-types': off # TODO consider
@@ -559,7 +562,6 @@ overrides:
559562
'@typescript-eslint/no-unsafe-call': off # TODO consider
560563
'@typescript-eslint/no-unsafe-member-access': off # TODO consider
561564
'@typescript-eslint/no-unsafe-return': off # TODO consider
562-
'@typescript-eslint/no-unused-vars-experimental': off
563565
'@typescript-eslint/no-var-requires': error
564566
'@typescript-eslint/prefer-as-const': off # TODO consider
565567
'@typescript-eslint/prefer-enum-initializers': off # TODO consider
@@ -600,6 +602,8 @@ overrides:
600602
no-empty-function: off
601603
no-invalid-this: off
602604
no-loss-of-precision: off
605+
no-redeclare: off
606+
no-shadow: off
603607
no-unused-expressions: off
604608
no-unused-vars: off
605609
no-useless-constructor: off
@@ -614,9 +618,19 @@ overrides:
614618
'@typescript-eslint/no-empty-function': error
615619
'@typescript-eslint/no-invalid-this': error
616620
'@typescript-eslint/no-loss-of-precision': error
621+
'@typescript-eslint/no-redeclare': error
622+
'@typescript-eslint/no-shadow': error
617623
'@typescript-eslint/no-unused-expressions': error
618624
'@typescript-eslint/no-unused-vars':
619-
[error, { vars: all, args: all, argsIgnorePattern: '^_' }]
625+
[
626+
error,
627+
{
628+
vars: all,
629+
args: all,
630+
argsIgnorePattern: '^_',
631+
varsIgnorePattern: '^_T',
632+
},
633+
]
620634
'@typescript-eslint/no-useless-constructor': error
621635
'@typescript-eslint/require-await': error
622636
'@typescript-eslint/return-await': error

0 commit comments

Comments
 (0)