@putout/plugin-putout-config 11.8.0 → 11.10.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
@@ -190,20 +190,28 @@ Apply [`destructuring`](https://github.com/coderaiser/putout/tree/master/package
190
190
  - "apply-destructuring/falsy": "off",
191
191
  - "apply-destructuring/array": "off",
192
192
  - "apply-destructuring/object": "off",
193
+ - "apply-destructuring/convert-object-to-array": "off",
193
194
  - "split-call-with-destructuring": "off",
194
195
  - "merge-destructuring-properties": "off",
195
196
  - "split-nested-destructuring": "off",
196
197
  - "remove-useless-arguments/destructuring": "off",
197
- - "remove-useless-variables/destruct": "off"
198
+ - "remove-useless-variables/destruct": "off",
199
+ - "extract-object-properties": "off",
200
+ - "extract-object-properties/equal-deep": "off",
201
+ - "extract-object-properties/not-equal-deep": "off",
198
202
  + "destructuring": "off",
199
203
  + "destructuring/remove-useless-object": "off",
200
204
  + "destructuring/apply-array": "off",
201
205
  + "destructuring/apply-object": "off",
206
+ + "destructuring/convert-object-to-array": "off",
202
207
  + "destructuring/split-call": "off",
203
208
  + "destructuring/merge-properties": "off",
204
209
  + "destructuring/split-nested": "off",
205
210
  + "destructuring/remove-useless-arguments": "off",
206
211
  + "destructuring/remove-useless-variables": "off"
212
+ + "destructuring/extract-properties": "off",
213
+ + "desturucturing/extract-properties-equal-deep": "off",
214
+ + "destructurigin/extract-properties-not-equal-deep": "off",
207
215
  }
208
216
  }
209
217
  ```
@@ -279,19 +287,27 @@ Apply [`variables`](https://github.com/coderaiser/putout/tree/master/packages/pl
279
287
  {
280
288
  "rules": {
281
289
  - "remove-useless-variables": "off",
290
+ - "remove-unused-variables": "on",
282
291
  - "remove-useless-variables/remove": "on",
283
292
  - "remove-useless-variables/assignment": "on",
284
293
  - "remove-useless-arguments/declaration": "on",
285
294
  - "remove-useless-arguments/duplicate": "on",
286
295
  - "remove-useless-arguments/rename": "on",
287
- - "remove-unreferenced-variables": "on"
296
+ - "remove-unreferenced-variables": "on",
297
+ - "convert-const-to-let": "on",
298
+ - "extract-keyword-from-variables": "on"
299
+ - "split-variable-declarations: "on",
288
300
  + "variables": "off",
301
+ + "variables/remove-unused": "on",
289
302
  + "variables/remove-useless": "on",
290
303
  + "variables/remove-useless-assignment": "on",
291
304
  + "variables/remove-useless-declarations": "on",
292
305
  + "variables/remove-useless-duplicates": "on",
293
306
  + "variables/remove-useless-rename": "on",
294
- + "variables/remove-unreferenced": "on"
307
+ + "variables/remove-unreferenced": "on",
308
+ + "variables/convert-const-to-let": "on"
309
+ + "variables/extract-keyword": "on"
310
+ + "variables/split-declarations: "on",
295
311
  }
296
312
  }
297
313
  ```
@@ -5,11 +5,15 @@ const v41 = [
5
5
  ['apply-destructuring/object', 'destructuring/apply-object'],
6
6
  ['apply-destructuring/array', 'destructuring/apply-array'],
7
7
  ['apply-destructuring/falsy', 'destructuring/remove-useless-object'],
8
+ ['apply-destructuring/convert-object-to-array', 'destructuring/convert-object-to-array'],
8
9
  ['merge-destructuring-properties', 'destructuring/merge-properties'],
9
10
  ['split-call-with-destructuring', 'destructuring/split-call'],
10
11
  ['split-nested-destructuring', 'destructuring/split-nested'],
11
12
  ['remove-useless-arguments/destructuring', 'destructuring/remove-useless-arguments'],
12
13
  ['remove-useless-variables/destruct', 'destructuring/remove-useless-variables'],
14
+ ['extract-object-properties', 'destructuring/extract-properties'],
15
+ ['extract-object-properties/equal-deep', 'destructuring/extract-properties-equal-deep'],
16
+ ['extract-object-properties/not-equal-deep', 'destructuring/extract-properties-not-equal-deep'],
13
17
  ];
14
18
 
15
19
  const versions = [...v41];
@@ -8,6 +8,10 @@ const v41 = [
8
8
  ['remove-useless-variables/duplicate', 'variables/remove-useless-duplicate'],
9
9
  ['remove-useless-variables/declaration', 'variables/remove-useless-declarations'],
10
10
  ['remove-unreferenced-variables', 'variables/remove-unreferenced'],
11
+ ['convert-const-to-let', 'variables/convert-const-to-let'],
12
+ ['extract-keyword-from-variables', 'variables/extract-keywords'],
13
+ ['split-variable-declarations', 'variables/split-declarations'],
14
+ ['remove-unused-variables', 'variables/remove-unused'],
11
15
  ];
12
16
 
13
17
  const versions = [...v41];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout-config",
3
- "version": "11.8.0",
3
+ "version": "11.10.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps to maintain putout config",