/
.eslintrc
64 lines (64 loc) · 1.84 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
{
"extends": ["airbnb"],
"globals": {
"document": true,
"gettext": true,
"ngettext": true,
"interpolate": true,
"window": true
},
"rules": {
"arrow-parens": [0],
"brace-style": [0],
"camelcase": [0],
"class-methods-use-this": [0],
"func-names": ["error", "never"],
"global-require": [0],
"indent": [0],
"import/extensions": [0],
"quote-props": [0],
"no-nested-ternary": [0],
"object-curly-newline": [0],
"object-curly-spacing": [0],
"one-var": [0],
"max-len": [1, { "code": 200 }],
"comma-dangle": [1],
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"no-prototype-builtins": [0],
"no-param-reassign": [0],
"no-unused-vars": [0],
"no-undef": [1],
"no-underscore-dangle": [0],
"no-unreachable": [1],
"no-lonely-if": [0],
"no-restricted-syntax": [0],
"no-shadow": [0],
"no-trailing-spaces": [1],
"no-multi-spaces": [1],
"no-void": [0],
"one-var-declaration-per-line": ["error", "initializations"],
"import/no-extraneous-dependencies": [0],
"spaced-comment": [0],
"semi": [1],
"react/destructuring-assignment": [0],
"react/forbid-prop-types": [0],
"react/jsx-indent": [0],
"react/jsx-indent-props": [0],
"react/jsx-filename-extension": [0],
"react/jsx-first-prop-new-line": [0],
"react/jsx-closing-bracket-location": [0],
"react/jsx-boolean-value": [1],
"react/jsx-max-props-per-line": [0],
"react/jsx-no-bind": [0],
"react/prefer-stateless-function": [0],
"react/prop-types": [1],
"react/self-closing-comp": [1],
"react/sort-comp": [0],
"react/no-array-index-key": [0],
"react/no-danger": [0],
"react/no-did-mount-set-state": [0],
"react/no-did-update-set-state": [0],
"react/no-multi-comp": [1],
"react/no-unused-prop-types": [1]
}
}