Skip to content

Commit 9170fd6

Browse files
committed
lint: more eslint rules
1 parent 399e262 commit 9170fd6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.eslintrc.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ module.exports = {
1818
"no-constant-condition": ["warn", { checkLoops: false }],
1919
"no-useless-escape": "warn",
2020
"no-console": "warn",
21+
"no-var": "warn",
2122
"valid-typeof": "warn", // "bigint" is not yet supported
22-
"no-return-await": "error",
23-
"prefer-const": "error",
24-
"guard-for-in": "error",
23+
"no-return-await": "warn",
24+
"prefer-const": "warn",
25+
"guard-for-in": "warn",
26+
"curly": "warn",
2527

2628
"@typescript-eslint/no-unused-vars":"warn",
2729
"@typescript-eslint/array-type": ["error", "generic"],

0 commit comments

Comments
 (0)