-
Notifications
You must be signed in to change notification settings - Fork 38
/
eslintrc
46 lines (46 loc) · 1.1 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
{
"extends": "airbnb-base/legacy",
"globals": {
"$": true
},
"rules": {
"array-callback-return": "warn",
"brace-style": "off",
"camelcase": "off",
"comma-dangle": "off",
"consistent-return": "off",
"dot-notation": "off",
"eqeqeq": "error",
"func-names": "off",
"guard-for-in": "warn",
"indent": "off",
"keyword-spacing": "off",
"no-console": "off",
"no-inner-declarations": "warn",
"no-loop-func": "warn",
"no-mixed-operators": "warn",
"no-multi-assign": "off",
"no-param-reassign": "off",
"no-redeclare": "off",
"no-restricted-syntax": "off",
"no-shadow": "off",
"no-undef": "warn",
"no-underscore-dangle": "off",
"no-unused-vars": "warn",
"no-use-before-define": "error",
"object-curly-spacing": "off",
"one-var": "error",
"padded-blocks": "off",
"quote-props": "off",
"quotes": "off",
"semi": "error",
"space-before-function-paren": "error",
"space-unary-ops": "error",
"spaced-comment": "off",
"vars-on-top": "off",
},
"env": {
"browser": true,
"es6": true
}
}