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