We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741ae2b commit 08566b1Copy full SHA for 08566b1
.eslintrc.json
@@ -1,6 +1,19 @@
1
{
2
- "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended-type-checked"],
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/strict-type-checked",
5
+ "plugin:@typescript-eslint/stylistic-type-checked"
6
+ ],
7
+ "ignorePatterns": ["/lib/*.d.ts"],
8
"parserOptions": {
9
"project": true
10
+ },
11
+ "rules": {
12
+ "@typescript-eslint/no-confusing-void-expression": "off",
13
+ "@typescript-eslint/restrict-template-expressions": ["error", { "allowNumber": true }],
14
+ "@typescript-eslint/strict-boolean-expressions": "error",
15
+ "eqeqeq": ["error", "smart"],
16
+ "no-else-return": "warn",
17
+ "no-implicit-coercion": "warn"
18
}
19
0 commit comments