Skip to content

Commit db7c588

Browse files
fix(no-loop-func): use typescript version of rule
1 parent 25e66d8 commit db7c588

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/configs/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const baseConfig: Linter.Config = {
1010
"camelcase": "off",
1111
"indent": "off",
1212
"no-constant-condition": "off",
13+
"no-loop-func": "off",
1314
"no-unused-expressions": "off",
1415
"no-unused-vars": "off",
1516
"no-use-before-define": "off",

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export const settings: Linter.Config = {
8585
trailingUnderscore: "forbid",
8686
},
8787
],
88+
"@typescript-eslint/no-loop-func": "error",
8889
"@typescript-eslint/no-throw-literal": "error",
8990
"@typescript-eslint/no-unnecessary-condition": "error",
9091
"@typescript-eslint/no-unsafe-assignment": "off",

0 commit comments

Comments
 (0)