Skip to content

Commit 503b772

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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];

0 commit comments

Comments
 (0)