-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
44 lines (41 loc) · 799 Bytes
/
.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
{
"root": true,
"extends": "@ljharb/eslint-config/node/0.4",
"rules": {
"array-bracket-newline": 0,
"array-callback-return": 0,
"array-element-newline": 0,
"complexity": 0,
"func-style": [2, "declaration"],
"global-require": 1,
"max-lines-per-function": 0,
"max-statements-per-line": [1, {"max": 2}],
"multiline-comment-style": 0,
"no-proto": 0,
"no-sparse-arrays": 1,
"no-underscore-dangle": 0,
"no-invalid-this": 0,
"object-curly-newline": 0,
"sort-keys": 0,
"max-lines": "warn",
},
"overrides": [
{
"files": "examples/**",
"rules": {
"no-console": 0,
"no-plusplus": 0,
"no-magic-numbers": 0,
},
},
{
"files": [
"test/typed-array.js",
"test/mutability.js",
],
"globals": {
"Uint8Array": false
},
}
],
}