forked from melink14/rikaikun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
48 lines (48 loc) · 1.28 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
37
38
39
40
41
42
43
44
45
46
47
48
{
"extends": "./node_modules/gts/",
"env": {
"browser": true,
"webextensions": true
},
"plugins": ["eslint-plugin-tsdoc", "sort-imports-es6-autofix"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"rcxMain": "readonly",
"rcxDict": "readonly",
"TTS": "readonly"
},
"ignorePatterns": "dist",
"rules": {
"tsdoc/syntax": "error",
"linebreak-style": ["error", "unix"],
"no-tabs": "error",
"sort-imports-es6-autofix/sort-imports-es6": "error",
"node/no-unpublished-import": "off",
"@typescript-eslint/no-var-requires": "off",
// TODO(espeed): Remove these and fix errors.
"no-undef": "off",
"prefer-arrow-callback": "off",
"no-case-declarations": "off",
"node/no-unpublished-require": "off",
"eqeqeq": "off",
"no-prototype-builtins": "off",
"no-useless-escape": "off",
"@typescript-eslint/no-unused-vars": "off",
"no-fallthrough": "off",
"no-control-regex": "off",
"no-constant-condition": "off",
"no-dupe-keys": "off",
"no-unreachable": "off",
"no-extra-boolean-cast": "off"
},
"overrides": [
{
// TODO(espeed): Tighten this as files get cleaned up.
"files": ["extension/*.ts"],
"rules": {
"tsdoc/syntax": "off"
}
}
]
}