@putout/plugin-putout-config 11.3.0 → 11.4.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 +5 -3
- package/lib/apply-arguments/index.js +1 -0
- package/lib/apply-spread/index.js +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -159,16 +159,18 @@ Apply [`arguments`](https://github.com/coderaiser/putout/tree/master/packages/pl
|
|
|
159
159
|
```diff
|
|
160
160
|
{
|
|
161
161
|
"rules": {
|
|
162
|
-
- "
|
|
162
|
+
- "remove-useless-arguments": "off",
|
|
163
163
|
- "remove-useless-arguments/arguments": "on",
|
|
164
164
|
- "remove-useless-arguments/method": "on",
|
|
165
165
|
- "remove-useless-arguments/unused": "on",
|
|
166
166
|
- "remove-useless-arguments/json-parse": "on"
|
|
167
|
-
|
|
167
|
+
- "convert-arguments-to-rest": "off"
|
|
168
|
+
+ "arguments": "off",
|
|
168
169
|
+ "arguments/remove-useless": "on",
|
|
169
170
|
+ "arguments/remove-useless-from-method": "on",
|
|
170
171
|
+ "arguments/remove-unused": "on",
|
|
171
|
-
+ "arguments/apply-json-parse": "on"
|
|
172
|
+
+ "arguments/apply-json-parse": "on",
|
|
173
|
+
+ "arguments/apply-rest": "on"
|
|
172
174
|
}
|
|
173
175
|
}
|
|
174
176
|
```
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {createRenameProperty} from '../rename-property.js';
|
|
2
2
|
|
|
3
3
|
const v41 = [
|
|
4
|
+
['remove-useless-arguments', 'arguments'],
|
|
4
5
|
['remove-useless-arguments/arguments', 'arguments/remove-useless'],
|
|
5
6
|
['remove-useless-arguments/method', 'arguments/remove-useless-from-method'],
|
|
6
7
|
['remove-useless-arguments/unused', 'arguments/remove-unused'],
|
package/package.json
CHANGED