-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
52 lines (52 loc) · 1.22 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"globals": {
"$": true,
"jQuery": true,
"GM_setting": true,
"GM_SETTINGS": true,
"GM": true,
"unsafeWindow": true,
"GM_info": true,
"GM_addStyle": true,
"GM_getTab": true,
"GM_getTabs": true,
"GM_saveTab": true,
"GM_xmlhttpRequest": true,
"document": true,
"console": true,
"location": true,
"setInterval": true,
"setTimeout": true,
"clearInterval": true,
"toggleFavoriteMenuGroup": true,
"URLEncoder": true,
"YT": true,
"GLOBAL": true,
"NOMO_DEBUG": true,
"NOMO_WARN": true,
"NOMO_ERROR": true
},
"rules": {
"no-global-assign": ["error", {"exceptions": ["page","ignores"]}],
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"no-console":0,
"indent": [
"error",
4
],
"semi": [
"error",
"always"
]
}
}