-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc.json
63 lines (63 loc) · 1.77 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"parserOptions": {
"ecmaVersion": 2020
},
"extends": "eslint:recommended",
"rules": {
"complexity": "off",
"eqeqeq": [1, "smart"],
"no-unused-vars": [1, {"vars": "all", "args": "none", "varsIgnorePattern": "Handler"}],
"no-use-before-define": [2, "nofunc"],
"no-eval": 2,
"guard-for-in": 2,
"no-array-constructor": 1,
"no-new-object": 1,
"no-new-wrappers": 2,
"no-spaced-func": 2,
"no-useless-escape": 1,
"comma-dangle": [0, "always-multiline"],
"no-empty": 1,
"no-mixed-spaces-and-tabs": [1, "smart-tabs"],
"no-regex-spaces": 1,
"indent": 0,
"quotes": 0,
"linebreak-style": 0,
"semi": [2, "always"],
"keyword-spacing": 0,
"no-console": ["error", {"allow": ["warn", "error"]}]
},
"env": {
"browser": true,
"jquery": true,
"webextensions": true,
"es6": true
},
"globals": {
"jQuery": true,
"content": false,
"SALR": true,
"PostHistory": true,
"PreviewParser": true,
"EmoteParser": true,
"QuickReplyBox": true,
"PageNavigator": true,
"MouseGesturesController": true,
"HotKeyManager": true,
"jumpToPage": true,
"findThreadID": true,
"findCurrentPage": true,
"salr_client": true,
"findRealForumID": true,
"YOSPOS_ID": true,
"findLastPost": true,
"findFirstUnreadPost": true,
"countPages": true,
"getCurrentPageNumber": true,
"findUrlSchema": true,
"findForumID": true,
"nextPageUrl": true,
"prevPageUrl": true,
"getPageUrl": true,
"isThreadInArchives": true
}
}