forked from fanxy121/twMediaDownloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
47 lines (47 loc) · 1.25 KB
/
.eslintrc.js
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
module.exports = {
"plugins": [
"jquery"
],
"env": {
"browser": true,
"es6": true,
"jquery": true,
"node": true,
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"chrome": "readonly",
"browser": "readonly",
"content": "readonly",
"define": "readonly",
"module": "readonly",
"global": "readonly",
"Decimal": "readonly",
"JSZip": "readonly",
"GM_xmlhttpRequest": "readonly",
"GM_setValue": "readonly",
"GM_getValue": "readonly",
"GM_deleteValue": "readonly",
"OAuth": "readonly",
"Twitter": "readonly",
"ZipRequest": "readonly",
"zip_request_handler": "readonly",
"async_set_values": "readonly",
"async_get_values": "readonly",
"extension_functions": "readonly",
"BigInt": "readonly",
"importScripts": "readonly",
},
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"no-unused-vars": "off",
"no-useless-escape" : "off",
"no-empty": "off",
"no-constant-condition": "off",
"no-prototype-builtins": "warn",
}
};