Skip to content

Commit 5678adf

Browse files
committed
fix: no-async-without-await converter to @typescript-eslint/require-await
1 parent 2c88ecd commit 5678adf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/converters/no-async-without-await.ts

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

src/rules/converters/tests/no-async-without-await.test.ts

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

0 commit comments

Comments
 (0)