Skip to content

Commit 9689236

Browse files
committed
Fix rule
1 parent 79a4516 commit 9689236

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.eslintrc.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1045,9 +1045,7 @@ overrides:
10451045
no-empty-function: 2
10461046

10471047
## Objects
1048-
prefer-destructuring:
1049-
- 2
1050-
- enforceForDeclarationWithTypeAnnotation: true
1048+
prefer-destructuring: 2
10511049

10521050
## Inheritance
10531051
class-methods-use-this: 2
@@ -1144,7 +1142,11 @@ overrides:
11441142
'@typescript-eslint/max-params': 2
11451143
'@typescript-eslint/default-param-last': 2
11461144
'@typescript-eslint/no-empty-function': 2
1147-
'@typescript-eslint/prefer-destructuring': 2
1145+
'@typescript-eslint/prefer-destructuring':
1146+
- 2
1147+
## TODO: uncomment this. This is currently failing due to a bug with
1148+
## @typescript-eslint/eslint-parser for this rule
1149+
# - enforceForDeclarationWithTypeAnnotation: true
11481150
'@typescript-eslint/class-methods-use-this': 2
11491151
'@typescript-eslint/no-invalid-this': 2
11501152
'@typescript-eslint/require-await': 2

0 commit comments

Comments
 (0)