-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
28 lines (28 loc) · 844 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": ["plugin:@typescript-eslint/recommended", "eslint:recommended", "plugin:import/recommended"],
"parserOptions": { "ecmaVersion": "latest" },
"overrides": [],
"rules": {
"no-constant-condition": ["error", { "checkLoops": false }],
"curly": ["error", "multi-line", "consistent"],
"@typescript-eslint/no-explicit-any": "off",
"no-template-curly-in-string": "error",
"no-use-before-define": "error",
"import/no-unresolved": "off",
"no-duplicate-case": "error",
"no-throw-literal": "error",
"no-self-compare": "error",
"no-unreachable": "error",
"no-unused-vars": "error",
"prefer-const": "error",
"no-console": "error",
"sort-vars": "error",
"no-empty": "error",
"no-undef": "error"
}
}