We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d18d0d commit 28171f5Copy full SHA for 28171f5
src/default-rules.ts
@@ -633,18 +633,20 @@ export const rules: Linter.Config['rules'] = {
633
destructuring: 'all'
634
}
635
],
636
- 'prefer-destructuring': ['error', {
637
- VariableDeclarator: {
638
- array: false,
639
- object: true
640
- },
641
- AssignmentExpression: {
642
- array: true,
643
+ 'prefer-destructuring': [
+ 'error', {
+ VariableDeclarator: {
+ array: false,
+ object: true
+ },
+ AssignmentExpression: {
+ array: true,
644
645
+ }
646
+ }, {
647
+ enforceForRenamedProperties: false
648
- }, {
- enforceForRenamedProperties: false
- }],
649
+ ],
650
'prefer-numeric-literals': 'error',
651
'prefer-rest-params': 'error',
652
'prefer-spread': 'error',
0 commit comments