Skip to content

Commit 4b3a791

Browse files
committed
fix: @putout/plugin-putout-config: apply-arguments: arguments/apply-rest
1 parent 2a390c4 commit 4b3a791

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/plugin-putout-config/lib/apply-arguments/fixture/apply-arguments-fix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__putout_processor_json({
22
rules: {
3-
"convert-arguments-to-rest": "off",
3+
"arguments/apply-rest": "off",
44
"arguments": "off",
55
"arguments/remove-useless": "on",
66
"arguments/remove-useless-from-method": "on",

packages/plugin-putout-config/lib/apply-arguments/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const v41 = [
66
['remove-useless-arguments/method', 'arguments/remove-useless-from-method'],
77
['remove-useless-arguments/unused', 'arguments/remove-unused'],
88
['remove-useless-arguments/json-parse', 'apply-json-parse'],
9+
['convert-arguments-to-rest', 'arguments/apply-rest'],
910
];
1011

1112
const versions = [...v41];

packages/plugin-putout-config/test/fixture/apply-arguments-fix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__putout_processor_json({
22
rules: {
3-
"convert-arguments-to-rest": "off",
3+
"arguments/apply-rest": "off",
44
"arguments/remove-useless": "on",
55
"arguments/remove-useless-from-method": "on",
66
"arguments/remove-unused": "on",

0 commit comments

Comments
 (0)