forked from ladjs/superagent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dist.eslintrc
60 lines (60 loc) · 1.29 KB
/
.dist.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
53
54
55
56
57
58
59
60
{
"extends": ["eslint:recommended", "plugin:compat/recommended"],
"env": {
"node": false,
"browser": true,
"amd": true,
"es6": true
},
"plugins": ["compat"],
"rules": {
"node/no-unsupported-features/es-builtins": ["error", {
"version": ">=8.0.0",
"ignores": [
"Atomics",
"BigInt",
"SharedArrayBuffer"
]
}],
"compat/compat": "error",
"no-console": "off",
"no-empty": "off",
"no-extra-semi": "off",
"no-func-assign": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-useless-escape": "off",
"no-cond-assign": "off",
"no-redeclare": "off",
"node/no-exports-assign": "off",
"no-unsafe-finally": "off",
"complexity": ["error", 10000],
"max-statements": "off",
"no-constant-condition": "off",
"no-control-regex": "off",
"no-fallthrough": "off",
"operator-linebreak": "off"
},
"globals": {
"regeneratorRuntime": "writable"
},
"settings": {
"polyfills": [
"Promise",
"Array.from",
"Symbol",
"Object.getOwnPropertySymbols",
"Object.setPrototypeOf",
"Set",
"Math.trunc",
"BigInt",
"Map",
"Reflect",
"WeakMap",
"WeakRef",
"WeakSet",
"Atomics",
"SharedArrayBuffer"
]
}
}