-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
50 lines (50 loc) · 1.3 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"brace-style": [2, "stroustrup", {"allowSingleLine": true}],
"camelcase": 1,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"consistent-return": 0,
"func-names": 0,
"function-paren-newline": 1,
"jsx-a11y/img-has-alt": 0,
"jsx-a11y/img-redundant-alt": 1,
"jsx-quotes": [2, "prefer-single"],
"object-curly-spacing": 2,
"new-cap": 0,
"no-case-declarations": 0,
"no-confusing-arrow": 0,
"no-fallthrough": 0,
"no-nested-ternary": 1,
"no-param-reassign": 0,
"no-shadow": 0,
"no-underscore-dangle": [1, {"allowAfterThis": true}],
"no-useless-escape": 1,
"padded-blocks": 0,
"prefer-rest-params": 0,
"prefer-template": 1,
"radix": 0,
"react/jsx-no-bind": 1,
"react/require-default-props": 0,
"react/no-unused-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/no-did-mount-set-state": 1,
"react/prefer-stateless-function": 0,
"spaced-comment": 0,
"strict": 0,
},
"globals": {
"describe": true,
"it": true,
"assert": true,
"before": true,
"jsdom": true
}
}