-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.json
40 lines (40 loc) · 977 Bytes
/
.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
37
38
39
40
{
"root": true,
"plugins": ["github"],
"extends": ["plugin:github/recommended", "plugin:github/typescript", "plugin:github/browser"],
"rules": {
"no-invalid-this": "off",
"@typescript-eslint/no-invalid-this": ["error"],
"import/extensions": ["error", "ignorePackages"],
"import/no-namespace": "off",
"import/no-unresolved": "off",
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}]
},
"overrides": [
{
"files": "test/*",
"rules": {
"@typescript-eslint/no-empty-function": "off"
},
"globals": {
"chai": false,
"expect": false,
"globalThis": false
},
"env": {
"mocha": true
}
},
{
"files": "*.cjs",
"env": {
"node": true
},
"rules": {
"import/no-commonjs": "off",
"filenames/match-regex": "off",
"@typescript-eslint/no-var-requires": "off"
}
}
]
}