File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
packages/plugin-putout-config Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -162,13 +162,15 @@ Apply [`destructuring`](https://github.com/coderaiser/putout/tree/master/package
162162- "split-call-with-destructuring": "off",
163163- "merge-destructuring-properties": "off",
164164- "split-nested-destructuring": "off"
165+ - "remove-useless-arguments/destructuring": "off"
165166+ "destructuring": "off",
166167+ "destructuring/remove-useless-object": "off",
167168+ "destructuring/apply-array": "off",
168169+ "destructuring/apply-object": "off",
169170+ "destructuring/split-call": "off",
170171+ "destructuring/merge-properties": "off",
171- + "destructuring/split-nested": "off"
172+ + "destructuring/split-nested": "off",
173+ + "destructuring/remove-useless-arguments": "off"
172174 }
173175}
174176```
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ __putout_processor_json({
66 "destructuring/apply-object" : "off" ,
77 "destructuring/split-call" : "off" ,
88 "destructuring/merge-properties" : "off" ,
9- "destructuring/split-nested" : "off"
9+ "destructuring/split-nested" : "off" ,
10+ "destructuring/remove-useless-arguments" : "off"
1011 }
1112} ) ;
Original file line number Diff line number Diff line change 11__putout_processor_json ( {
22 rules : {
3- "apply-destructuring" : "off" ,
4- "apply-destructuring/falsy" : "off" ,
5- "apply-destructuring/array" : "off" ,
6- "apply-destructuring/object" : "off" ,
7- "split-call-with-destructuring" : "off" ,
8- "merge-destructuring-properties" : "off" ,
9- "split-nested-destructuring" : "off"
10- }
3+ 'apply-destructuring' : 'off' ,
4+ 'apply-destructuring/falsy' : 'off' ,
5+ 'apply-destructuring/array' : 'off' ,
6+ 'apply-destructuring/object' : 'off' ,
7+ 'split-call-with-destructuring' : 'off' ,
8+ 'merge-destructuring-properties' : 'off' ,
9+ 'split-nested-destructuring' : 'off' ,
10+ 'remove-useless-arguments/destructuring' : 'off' ,
11+ } ,
1112} ) ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const v41 = [
88 [ 'merge-destructuring-properties' , 'destructuring/merge-properties' ] ,
99 [ 'split-call-with-destructuring' , 'destructuring/split-call' ] ,
1010 [ 'split-nested-destructuring' , 'destructuring/split-nested' ] ,
11+ [ 'remove-useless-arguments/destructuring' , 'destructuring/remove-useless-arguments' ] ,
1112] ;
1213
1314const versions = [ ...v41 ] ;
You can’t perform that action at this time.
0 commit comments