-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
36 lines (36 loc) · 1.03 KB
/
.eslintrc.json
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
29
30
31
32
33
34
35
36
{
"env": {
"browser": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-this-alias": ["off"],
"@typescript-eslint/ban-ts-comment": ["off"],
"@typescript-eslint/no-var-requires": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"no-undef": "off",
"no-unused-vars": ["off"],
"no-irregular-whitespace": "off",
"no-console":"off",
"no-restricted-syntax": ["error", "WithStatement"],
"no-param-reassign": "off",
"prefer-promise-reject-errors": ["error", {"allowEmptyReject": true}],
"no-restricted-globals": ["error", "event", "fdescribe"],
// "semi": ["error", "always"],
// "quotes": ["error", "single"],
"no-alert": "error",
"no-var": "error",
"no-debugger": "error",
"no-useless-escape":"off"
}
}