Skip to content

Commit 431cd15

Browse files
fix(eslint-plugin): add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked (#8038)
fix: add no-unsafe-unary-minus, prefer-destructuring to disable-type-checked
1 parent ee158a6 commit 431cd15

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: packages/eslint-plugin/src/configs/all.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ export = {
143143
'@typescript-eslint/padding-line-between-statements': 'error',
144144
'@typescript-eslint/parameter-properties': 'error',
145145
'@typescript-eslint/prefer-as-const': 'error',
146-
'@typescript-eslint/prefer-enum-initializers': 'error',
147146
'prefer-destructuring': 'off',
148147
'@typescript-eslint/prefer-destructuring': 'error',
148+
'@typescript-eslint/prefer-enum-initializers': 'error',
149149
'@typescript-eslint/prefer-for-of': 'error',
150150
'@typescript-eslint/prefer-function-type': 'error',
151151
'@typescript-eslint/prefer-includes': 'error',

Diff for: packages/eslint-plugin/src/configs/disable-type-checked.ts

+2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export = {
3434
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
3535
'@typescript-eslint/no-unsafe-member-access': 'off',
3636
'@typescript-eslint/no-unsafe-return': 'off',
37+
'@typescript-eslint/no-unsafe-unary-minus': 'off',
3738
'@typescript-eslint/non-nullable-type-assertion-style': 'off',
39+
'@typescript-eslint/prefer-destructuring': 'off',
3840
'@typescript-eslint/prefer-includes': 'off',
3941
'@typescript-eslint/prefer-nullish-coalescing': 'off',
4042
'@typescript-eslint/prefer-optional-chain': 'off',

0 commit comments

Comments
 (0)