-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
38 lines (38 loc) · 923 Bytes
/
.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
{
"extends": "@alhadis",
"parser": "babel-eslint",
"rules": {
"require-atomic-updates": 0,
"indent": ["error", "tab", {"ignoredNodes": ["ForOfStatement > ForOfStatement"]}]
},
"overrides": [{
"files": ["lib/postproc/postprocessor.mjs"],
"rules": {
"comma-spacing": 0,
"capitalized-comments": 0,
"no-underscore-dangle": 0,
"no-unused-vars": ["error", {"varsIgnorePattern": "WW1"}],
"space-before-function-paren": 0,
"spaced-comment": 0,
"semi": 0
}
},{
"files": ["lib/postproc/tty/text-grid.mjs"],
"rules": {"comma-spacing": 0}
},{
"files": ["lib/postproc/tables/*.mjs"],
"rules": {"quote-props": 0}
},{
"files": ["lib/postproc/tty/viewer.mjs"],
"rules": {"operator-linebreak": 0}
},{
"files": ["lib/**/*.mjs"],
"rules": {"indent": 0}
},{
"files": ["lib/utils/shell.mjs"],
"rules": {"quotes": 0}
},{
"files": ["test/*.js"],
"globals": {"expect": true}
}]
}