-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (60 loc) · 1.61 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"env": {
"browser": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
}
},
"extends": "standard",
"rules": {
"semi": ["error", "always"],
"space-before-function-paren": "off",
"object-curly-spacing": ["error", "always"]
},
"overrides": [
{
"files": [ "web/**/*.js", "test/**/*.js" ],
"rules": {
"no-octal": "error",
"no-unused-vars": "error",
"no-undef": "error",
"no-useless-escape": "error",
"eqeqeq": "error",
"padded-blocks": "error",
"space-before-blocks": "error",
"spaced-comment": "error",
"no-multiple-empty-lines": "error",
"operator-linebreak": "error",
"comma-dangle": "error",
"no-use-before-define": "error",
"camelcase": "error",
"no-extend-native": "error",
"one-var": "error",
"no-extra-parens": "error",
"space-in-parens": "error",
"space-infix-ops": "error",
"no-multi-spaces": "error",
"comma-spacing": "error",
"yoda": "error",
"no-useless-return": "error",
"keyword-spacing": "error",
"brace-style": "error",
"func-call-spacing": "error",
"no-return-assign": "error",
"no-sequences": "error",
"no-unused-expressions": "error",
"no-useless-call": "error",
"no-trailing-spaces": "error",
"standard/computed-property-even-spacing": "error",
"wrap-iife": "error",
"new-cap": "error"
}
}
]
}