-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy path.eslintrc
More file actions
53 lines (48 loc) · 976 Bytes
/
.eslintrc
File metadata and controls
53 lines (48 loc) · 976 Bytes
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
{
"root": true,
"extends": "@ljharb",
"globals": {
"Uint8Array": "readonly",
"Uint16Array": "readonly",
"Uint32Array": "readonly",
"Int8Array": "readonly",
"Int16Array": "readonly",
"Int32Array": "readonly",
"Float32Array": "readonly",
"Float64Array": "readonly",
"BigInt64Array": "readonly",
"BigUint64Array": "readonly",
},
"rules": {
"complexity": "off",
"func-style": "warn",
"max-params": "warn",
"multiline-comment-style": "off",
"no-param-reassign": "warn",
"sort-keys": "warn",
},
"ignorePatterns": [
"test/bundle.js",
],
"overrides": [
{
"files": "bench/*",
"extends": "@ljharb/eslint-config/node/4",
"rules": {
"func-style": "warn",
"max-params": "warn",
"no-magic-numbers": "off",
"no-param-reassign": "warn",
"no-var": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
},
},
{
"files": "test/**",
"rules": {
"sort-keys": "off",
},
},
],
}