Skip to content

Commit 48dc0b0

Browse files
fix: only use ts version of no-loop-func when using ts
1 parent 9484657 commit 48dc0b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/configs/typescript.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export async function typescript(
116116
"ts/no-floating-promises": "error",
117117
"ts/no-for-in-array": "error",
118118
"ts/no-invalid-void-type": "error",
119-
"ts/no-loop-func": "error",
120119
// "ts/no-meaningless-void-operator": "error",
121120
"ts/no-misused-new": "error",
122121
"ts/no-misused-promises": "error",
@@ -208,6 +207,9 @@ export async function typescript(
208207
"ts/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
209208
"ts/use-unknown-in-catch-callback-variable": "error",
210209

210+
"no-loop-func": "off",
211+
"ts/no-loop-func": "error",
212+
211213
"no-use-before-define": "off",
212214
"ts/no-use-before-define": [
213215
"error",

0 commit comments

Comments
 (0)