@putout/plugin-putout-config 11.9.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
@@ -287,19 +287,27 @@ Apply [`variables`](https://github.com/coderaiser/putout/tree/master/packages/pl
287
287
  {
288
288
  "rules": {
289
289
  - "remove-useless-variables": "off",
290
+ - "remove-unused-variables": "on",
290
291
  - "remove-useless-variables/remove": "on",
291
292
  - "remove-useless-variables/assignment": "on",
292
293
  - "remove-useless-arguments/declaration": "on",
293
294
  - "remove-useless-arguments/duplicate": "on",
294
295
  - "remove-useless-arguments/rename": "on",
295
- - "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",
296
300
  + "variables": "off",
301
+ + "variables/remove-unused": "on",
297
302
  + "variables/remove-useless": "on",
298
303
  + "variables/remove-useless-assignment": "on",
299
304
  + "variables/remove-useless-declarations": "on",
300
305
  + "variables/remove-useless-duplicates": "on",
301
306
  + "variables/remove-useless-rename": "on",
302
- + "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",
303
311
  }
304
312
  }
305
313
  ```
@@ -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.9.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",