-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 924 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
{
"extends": ["standard"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"impliedStrict": true,
"globalReturn": true
}
},
"env": {
"es6": true,
"node": true,
"jest": true
},
"globals": {
"org": true,
"script": true,
"consts": true,
"Fault": true,
"__API__": true,
"faults": true
},
"rules": {
"camelcase": "off",
"one-var": "off",
"indent": ["warn", 2, { "VariableDeclarator": {"var": 2, "let": 2, "const": 3}, "SwitchCase": 1 }],
"keyword-spacing": "warn",
"new-cap": ["warn", {"properties": false}],
"no-control-regex": 0,
"no-unused-vars": "warn",
"padded-blocks": ["warn", {"classes":"always"}],
"semi": ["error", "never"],
"space-before-function-paren": ["error", "never"],
"eol-last": 0
}
}