Skip to content

Commit 8f5c72f

Browse files
author
Josh Goldberg
authored
Corrected no-construct to map to no-new-wrappers (#45)
1 parent 33fd2bf commit 8f5c72f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/converters/no-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const convertNoConstruct: RuleConverter = () => {
44
return {
55
rules: [
66
{
7-
ruleName: "no-construct",
7+
ruleName: "no-new-wrappers",
88
},
99
],
1010
};

src/rules/converters/tests/no-construct.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe(convertNoConstruct, () => {
99
expect(result).toEqual({
1010
rules: [
1111
{
12-
ruleName: "no-construct",
12+
ruleName: "no-new-wrappers",
1313
},
1414
],
1515
});

0 commit comments

Comments
 (0)