-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
44 lines (44 loc) · 1.09 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
{
"extends": "@alhadis",
"ignorePatterns": ["coverage/*"],
"overrides": [{
"files": ["lib/{binary,text}.mjs"],
"rules": {"multiline-ternary": 0}
},{
"files": ["lib/math.mjs"],
"rules": {"eqeqeq": 0}
},{
"files": ["lib/misc.mjs"],
"rules": {"spaced-comment": ["error", "always", {"markers": ["@cc_on"]}]}
},{
"files": ["lib/*.mjs"],
"rules": {"no-console": "error"}
},{
"files": ["lib/{dom,misc,shell}.mjs"],
"rules": {"brace-style": 0}
},{
"files": ["lib/{binary,functions}.mjs", "test/{misc,shell}.mjs"],
"rules": {"keyword-spacing": 0}
},{
"files": ["test/*.mjs", "test/**/*.mjs"],
"globals": {"expect": "readonly"}
},{
"files": ["test/fixtures/ints/run-tests.mjs"],
"rules": {"import/no-unresolved": 0}
},{
"files": ["test/{canvas,dom}.mjs"],
"rules": {"no-debugger": 0}
},{
"files": ["test/{binary,math}.mjs"],
"rules": {"no-loss-of-precision": 0}
},{
"files": ["test/canvas.mjs"],
"rules": {"spaced-comment": 0}
},{
"files": ["test/math.mjs"],
"rules": {"no-fallthrough": 0}
},{
"files": ["test/misc.mjs"],
"rules": {"comma-spacing": 0}
}]
}