-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
61 lines (61 loc) · 1.57 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
61
{
"extends": ["airbnb-base"],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"parser": "babel-eslint",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module",
"ecmaVersion": 8
},
"rules": {
"indent": [
1,
4,
{
"SwitchCase": 2
}
],
"semi": [2, "always"],
"quotes": [2, "single"],
"comma-dangle": [1, "never"],
"new-cap": [0, { "newIsCap": true }],
"global-require": 0,
"no-console": 0,
"guard-for-in": 1,
"prefer-const": 1,
"object-curly-spacing": 0,
"radix": [0, "as-needed"],
"no-param-reassign": 0,
"no-restricted-syntax": [
1,
"WithStatement",
"BinaryExpression[operator='in']"
],
"no-prototype-builtins": 0,
"import/no-dynamic-require": 0,
"object-shorthand": 0,
"arrow-parens": 0,
"func-names": 0,
"no-unused-expressions": 0,
"no-undef": 1,
"no-debugger": 2,
"no-useless-escape": 1,
"generator-star-spacing": 0,
"no-var": 1,
"no-inner-declarations": 0,
"operator-assignment": 0,
"function-paren-newline": 0,
"class-methods-use-this": 0,
"prefer-template": 0,
"space-before-function-paren": 0,
"consistent-return": 0,
"prefer-arrow-callback": 0,
"wrap-iife": 0
}
}