Skip to content

Commit 4507cbf

Browse files
adamazingJosh Goldberg
authored and
Josh Goldberg
committed
Convert space-within-parens to space-in-parens (#314)
Signed-off-by: Adam Henley <adamazing@gmail.com>
1 parent 9553a8a commit 4507cbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rules/converters/space-within-parens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const convertSpaceWithinParens: RuleConverter = tslintRule => {
1616
{
1717
...(notices !== undefined && { notices }),
1818
ruleArguments: [arg],
19-
ruleName: "@typescript-eslint/space-within-parens",
19+
ruleName: "space-in-parens",
2020
},
2121
],
2222
};

src/rules/converters/tests/space-within-parens.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe(convertSpaceWithinParens, () => {
1010
rules: [
1111
{
1212
ruleArguments: ["never"],
13-
ruleName: "@typescript-eslint/space-within-parens",
13+
ruleName: "space-in-parens",
1414
},
1515
],
1616
});
@@ -26,7 +26,7 @@ describe(convertSpaceWithinParens, () => {
2626
{
2727
notices: ["The number of spaces will be ignored"],
2828
ruleArguments: ["always"],
29-
ruleName: "@typescript-eslint/space-within-parens",
29+
ruleName: "space-in-parens",
3030
},
3131
],
3232
});

0 commit comments

Comments
 (0)