-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
57 lines (57 loc) · 1.32 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"comma-dangle": 0,
"no-console": 0,
"max-len": 0,
"import/prefer-default-export": 0,
"react/jsx-filename-extension": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"react/jsx-indent-props": [2, 2],
"import/no-named-default": 0,
"no-useless-constructor": 2,
"no-var": 2,
"object-shorthand": 2,
"quotes": [2, "single"],
"space-before-blocks": 2,
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"yoda": 2,
"eqeqeq": 2,
"curly": [2, "all"],
"default-case": 2,
"dot-location": 0,
"dot-notation": 2,
"no-alert": 2,
"no-loop-func": 2,
"guard-for-in": 2,
"no-magic-numbers": [ 2, { "ignore": [-1, 0, 1] } ],
"no-multi-str": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-octal": 2,
"no-proto": 2,
"no-with": 2,
"no-useless-escape": 2,
"no-unmodified-loop-condition": 2,
"no-throw-literal": 2,
"no-sequences": 2,
"no-self-compare": 2,
"class-methods-use-this": 0,
"arrow-parens": 0,
"no-underscore-dangle": 0,
"func-names": 0
},
"env": {
"browser": true,
"es6": true,
"jasmine": true
}
}