-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc
80 lines (80 loc) · 2.07 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"extends": ["airbnb"],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": true,
"jasmine": true
},
"globals": {
"uskin": false,
"React": false,
"ReactDOM": false
},
"plugins": [
"react",
"babel"
],
"rules": {
"arrow-parens": [2, "always"],
"class-methods-use-this": 0,
"constructor-super": 2,
"comma-dangle": [2, "never"],
"eol-last": 2,
"func-names": 0,
"global-require": 0,
"guard-for-in": 0,
'import/no-extraneous-dependencies': 0,
"jsx-a11y/no-static-element-interactions": 0,
"key-spacing": 0,
"no-eq-null": 0,
"no-else-return": 0,
"no-mixed-operators": 0,
"no-param-reassign": 0,
"no-this-before-super": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-useless-constructor": 0,
"no-var": 0,
"no-unused-expressions": 0,
"no-plusplus": 0,
"no-restricted-syntax": [
'error',
'ForOfStatement',
'LabeledStatement',
'WithStatement',
],
"no-shadow": [2, {"allow": ["xhr"]}],
"object-curly-spacing": [2, "never"],
"object-shorthand": 0,
"one-var": 0,
"prefer-arrow-callback": 0,
"prefer-const": 0,
"prefer-template": 0,
"padded-blocks": 0,
"react/jsx-boolean-value": 0,
"react/jsx-closing-bracket-location":0,
"react/jsx-first-prop-new-line": [2, "never"],
"react/jsx-no-bind": 0,
"react/jsx-no-duplicate-props": 2,
"react/no-render-return-value": 0,
"react/no-string-refs": 0,
"react/no-unused-prop-types": 0,
"react/prefer-stateless-function": [2, {ignorePureComponents: true}],
"react/prop-types": [0, {"ignore": ["children", "className", "style"]}],
"react/prefer-es6-class": 0,
"react/sort-comp": 0,
"react/self-closing-comp": [2, {
"component": true
}],
"react/wrap-multilines": 0,
"react/no-multi-comp": 0,
"space-after-keywords": 0,
"space-before-blocks": 0,
"space-before-function-paren": 0,
"spaced-comment": 0,
"vars-on-top": 0
}
}