Skip to content

Commit 4aa1877

Browse files
dimaboryJosh Goldberg
authored and
Josh Goldberg
committed
fix(no-use-before-declare): convert to @typescript-eslint/no-use-before-define (#283)
#279
1 parent 358612c commit 4aa1877

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/converters/no-use-before-declare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const convertNoUseBeforeDeclare: RuleConverter = () => {
44
return {
55
rules: [
66
{
7-
ruleName: "@typescript-eslint/no-use-before-declare",
7+
ruleName: "@typescript-eslint/no-use-before-define",
88
},
99
],
1010
};

src/rules/converters/tests/no-use-before-declare.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe(convertNoUseBeforeDeclare, () => {
99
expect(result).toEqual({
1010
rules: [
1111
{
12-
ruleName: "@typescript-eslint/no-use-before-declare",
12+
ruleName: "@typescript-eslint/no-use-before-define",
1313
},
1414
],
1515
});

0 commit comments

Comments
 (0)