-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
69 lines (68 loc) · 1.81 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
{
"plugins": ["react", "filenames"],
"extends": "airbnb",
"parser": "@babel/eslint-parser",
"rules": {
"strict": 0,
"global-require": 0,
"import/no-unresolved": 0,
"react/jsx-indent": 0,
"quotes": [2, "single"],
"arrow-body-style": [2, "as-needed"],
"func-style": [2, "expression"],
"prefer-arrow-callback": [
2,
{
"allowNamedFunctions": false,
"allowUnboundThis": false
}
],
"import/extensions": 0,
"func-names": 2,
"implicit-arrow-linebreak": 0,
"react/prefer-es6-class": 2,
"react/jsx-tag-spacing": 0,
"jsx-quotes": [2, "prefer-single"],
"indent": [2, 2, { "SwitchCase": 1 }],
"no-invalid-this": 0,
"react/jsx-closing-bracket-location": [2, "after-props"],
"react/jsx-boolean-value": 0,
"react/jsx-no-bind": 0,
"react/prop-types": 2,
"react/no-set-state": 2,
"react/prefer-stateless-function": 2,
"valid-jsdoc": 0,
"comma-dangle": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"default-case": 0,
"no-extra-parens": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"no-undef": 2,
"no-plusplus": 0,
"object-curly-newline": 0,
"arrow-parens": [2, "always"],
"no-restricted-globals": 0,
"function-paren-newline": [2, "consistent"],
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"no-unused-expressions": [
"error",
{
"allowTaggedTemplates": true
}
],
"import/named": 0,
"react/destructuring-assignment": 0,
"no-else-return": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-spreading": 0,
"import/no-cycle": 0,
"react/static-property-placement": 0,
"react/state-in-constructor": 0
},
"globals": {
"require": true
}
}