@putout/plugin-putout-config 11.5.0 → 11.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -191,7 +191,8 @@ Apply [`destructuring`](https://github.com/coderaiser/putout/tree/master/package
|
|
|
191
191
|
- "split-call-with-destructuring": "off",
|
|
192
192
|
- "merge-destructuring-properties": "off",
|
|
193
193
|
- "split-nested-destructuring": "off",
|
|
194
|
-
- "remove-useless-arguments/destructuring": "off"
|
|
194
|
+
- "remove-useless-arguments/destructuring": "off",
|
|
195
|
+
- "remove-useless-variables/destruct": "off"
|
|
195
196
|
+ "destructuring": "off",
|
|
196
197
|
+ "destructuring/remove-useless-object": "off",
|
|
197
198
|
+ "destructuring/apply-array": "off",
|
|
@@ -199,7 +200,8 @@ Apply [`destructuring`](https://github.com/coderaiser/putout/tree/master/package
|
|
|
199
200
|
+ "destructuring/split-call": "off",
|
|
200
201
|
+ "destructuring/merge-properties": "off",
|
|
201
202
|
+ "destructuring/split-nested": "off",
|
|
202
|
-
+ "destructuring/remove-useless-arguments": "off"
|
|
203
|
+
+ "destructuring/remove-useless-arguments": "off",
|
|
204
|
+
+ "destructuring/remove-useless-variables": "off"
|
|
203
205
|
}
|
|
204
206
|
}
|
|
205
207
|
```
|
|
@@ -254,11 +256,13 @@ Apply [`spread`](https://github.com/coderaiser/putout/tree/master/packages/plugi
|
|
|
254
256
|
- "remove-useless-spread/object": "on",
|
|
255
257
|
- "remove-useless-spread/nested": "on",
|
|
256
258
|
- "convert-apply-to-spread": "on"
|
|
259
|
+
- "convert-object-assign-to-merge-spread": "on"
|
|
257
260
|
+ "spread": "on",
|
|
258
261
|
+ "spread/remove-useless-array": "on",
|
|
259
262
|
+ "spread/remove-useless-object": "on",
|
|
260
263
|
+ "spread/simplify-nested": "on",
|
|
261
|
-
+ "spread/convert-apply-to-spread": "on"
|
|
264
|
+
+ "spread/convert-apply-to-spread": "on",
|
|
265
|
+
+ "spread/convert-object-assign-to-merge-spread": "on"
|
|
262
266
|
}
|
|
263
267
|
}
|
|
264
268
|
```
|
|
@@ -9,6 +9,7 @@ const v41 = [
|
|
|
9
9
|
['split-call-with-destructuring', 'destructuring/split-call'],
|
|
10
10
|
['split-nested-destructuring', 'destructuring/split-nested'],
|
|
11
11
|
['remove-useless-arguments/destructuring', 'destructuring/remove-useless-arguments'],
|
|
12
|
+
['remove-useless-variables/destruct', 'destructuring/remove-useless-variables'],
|
|
12
13
|
];
|
|
13
14
|
|
|
14
15
|
const versions = [...v41];
|
|
@@ -6,6 +6,7 @@ const v41 = [
|
|
|
6
6
|
['remove-useless-spread/array', 'spread/remove-useless-array'],
|
|
7
7
|
['remove-useless-spread/object', 'spread/remove-useless-object'],
|
|
8
8
|
['convert-apply-to-spread', 'spread/convert-apply-to-spread'],
|
|
9
|
+
['convert-object-assign-to-merge-spread', 'spread/convert-object-assign-to-merge-spread'],
|
|
9
10
|
];
|
|
10
11
|
|
|
11
12
|
const versions = [...v41];
|
package/package.json
CHANGED