-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
46 lines (46 loc) · 1.05 KB
/
.eslintrc.cjs
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
37
38
39
40
41
42
43
44
45
46
module.exports = {
env: { browser: true, es2020: true },
parser: '@typescript-eslint/parser',
"rules": {
"eol-last": "off",
"brace-style": "off",
"comma-dangle": "off",
"comma-spacing": "off",
"eqeqeq": "off",
"indent": "off",
"key-spacing": "off",
"keyword-spacing": "off",
"max-len": "off",
"no-ex-assign": "off",
"no-extra-boolean-cast": "off",
"no-multi-spaces": "off",
"no-throw-literal": "off",
"no-unreachable": "off",
"radix": "off",
"quote-props": "off",
"quotes": "off",
"space-before-function-paren": "off",
"space-in-parens": "off",
"space-infix-ops": "off",
"space-unary-ops": "off",
"spaced-comment": "off"
},
"overrides": [
{
"extends": ["plugin:@typescript-eslint/recommended"],
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
{
"files": ["**/*.test.ts"],
"env": { "jest": true },
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
}
}
]
};