Skip to content

Commit 5cc95bf

Browse files
fix: turn off consistent-return in ts environment
ts compiler will catch any errors and does a better job
1 parent 01168ad commit 5cc95bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const baseConfig: Linter.Config = {
99
rules: {
1010
"camelcase": "off",
1111
"comma-dangle": "off",
12+
"consistent-return": "off",
1213
"dot-notation": "off",
1314
"indent": "off",
1415
"no-constant-condition": "off",

0 commit comments

Comments
 (0)