@putout/plugin-putout-config 11.11.0 β 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 +6 -4
- package/lib/apply-arguments/index.js +1 -0
- package/package.json +6 -6
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
|
```
|
|
@@ -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];
|
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
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"
|