@putout/plugin-putout-config 11.10.1 β 11.12.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @putout/plugin-putout-config [![NPM version][NPMIMGURL]][NPMURL]
|
|
2
2
|
|
|
3
3
|
[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-putout-config.svg?style=flat&longCache=true
|
|
4
|
-
[NPMURL]: https://npmjs.org/package/@putout/plugin-putout-config"npm"
|
|
4
|
+
[NPMURL]: https://npmjs.org/package/@putout/plugin-putout-config "npm"
|
|
5
5
|
|
|
6
6
|
π[**Putout**](https://github.com/coderaiser/putout) plugin helps with π[**Putout Config**](https://github.com/coderaiser/putout#-configuration).
|
|
7
7
|
|
|
@@ -163,16 +163,18 @@ Apply [`arguments`](https://github.com/coderaiser/putout/tree/master/packages/pl
|
|
|
163
163
|
"rules": {
|
|
164
164
|
- "remove-useless-arguments": "off",
|
|
165
165
|
- "remove-useless-arguments/arguments": "on",
|
|
166
|
+
- "convert-expression-to-params": "on",
|
|
166
167
|
- "remove-useless-arguments/method": "on",
|
|
167
168
|
- "remove-useless-arguments/unused": "on",
|
|
168
169
|
- "remove-useless-arguments/json-parse": "on"
|
|
169
170
|
- "convert-arguments-to-rest": "off"
|
|
170
171
|
+ "arguments": "off",
|
|
172
|
+
+ "arguments/apply-json-parse": "on",
|
|
173
|
+
+ "arguments/apply-rest": "on",
|
|
174
|
+
+ "arguments/convert-expression-to-arguments": "on",
|
|
171
175
|
+ "arguments/remove-useless": "on",
|
|
172
176
|
+ "arguments/remove-useless-from-method": "on",
|
|
173
|
-
+ "arguments/remove-unused": "on"
|
|
174
|
-
+ "arguments/apply-json-parse": "on",
|
|
175
|
-
+ "arguments/apply-rest": "on"
|
|
177
|
+
+ "arguments/remove-unused": "on"
|
|
176
178
|
}
|
|
177
179
|
}
|
|
178
180
|
```
|
|
@@ -297,6 +299,7 @@ Apply [`variables`](https://github.com/coderaiser/putout/tree/master/packages/pl
|
|
|
297
299
|
- "convert-const-to-let": "on",
|
|
298
300
|
- "extract-keyword-from-variables": "on"
|
|
299
301
|
- "split-variable-declarations: "on",
|
|
302
|
+
- "reuse-duplicate-init: "on",
|
|
300
303
|
+ "variables": "off",
|
|
301
304
|
+ "variables/remove-unused": "on",
|
|
302
305
|
+ "variables/remove-useless": "on",
|
|
@@ -308,6 +311,7 @@ Apply [`variables`](https://github.com/coderaiser/putout/tree/master/packages/pl
|
|
|
308
311
|
+ "variables/convert-const-to-let": "on"
|
|
309
312
|
+ "variables/extract-keyword": "on"
|
|
310
313
|
+ "variables/split-declarations: "on",
|
|
314
|
+
+ "variables/reuse-duplicate-init: "on"
|
|
311
315
|
}
|
|
312
316
|
}
|
|
313
317
|
```
|
|
@@ -7,6 +7,7 @@ const v41 = [
|
|
|
7
7
|
['remove-useless-arguments/unused', 'arguments/remove-unused'],
|
|
8
8
|
['remove-useless-arguments/json-parse', 'apply-json-parse'],
|
|
9
9
|
['convert-arguments-to-rest', 'arguments/apply-rest'],
|
|
10
|
+
['convert-expression-to-params', 'arguments/convert-expression-to-arguments'],
|
|
10
11
|
];
|
|
11
12
|
|
|
12
13
|
const versions = [...v41];
|
|
@@ -12,6 +12,7 @@ const v41 = [
|
|
|
12
12
|
['extract-keyword-from-variables', 'variables/extract-keywords'],
|
|
13
13
|
['split-variable-declarations', 'variables/split-declarations'],
|
|
14
14
|
['remove-unused-variables', 'variables/remove-unused'],
|
|
15
|
+
['reuse-duplicate-init', 'variables/reuse-duplicate-init'],
|
|
15
16
|
];
|
|
16
17
|
|
|
17
18
|
const versions = [...v41];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/plugin-putout-config",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.12.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",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"config"
|
|
32
32
|
],
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@putout/eslint-flat": "^
|
|
35
|
-
"@putout/test": "^
|
|
34
|
+
"@putout/eslint-flat": "^4.0.0",
|
|
35
|
+
"@putout/test": "^15.0.0",
|
|
36
36
|
"c8": "^10.0.0",
|
|
37
|
-
"eslint": "
|
|
37
|
+
"eslint": "^10.0.0-alpha.0",
|
|
38
38
|
"eslint-plugin-n": "^17.0.0",
|
|
39
|
-
"eslint-plugin-putout": "^
|
|
40
|
-
"madrun": "^
|
|
39
|
+
"eslint-plugin-putout": "^30.0.0",
|
|
40
|
+
"madrun": "^12.0.0",
|
|
41
41
|
"nodemon": "^3.0.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
48
|
+
"node": ">=22"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|