-
Notifications
You must be signed in to change notification settings - Fork 194
/
Copy path.eslintrc
42 lines (42 loc) · 1016 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"jest": true
},
"rules": {
"indent": ["error", 2],
"react/jsx-indent": ["error", 2],
"import/prefer-default-export": "off",
"react/jsx-indent-props": "off",
"react/jsx-no-bind": "off",
"react/prop-types": "off",
"react/jsx-filename-extension": "off",
"global-require": "off",
"spaced-comment": ["error", "always", { "markers": ["/"] }],
"arrow-parens": "off",
"linebreak-style": "off",
"no-undef": "warn",
"react/prefer-stateless-function": "off",
"import/no-named-as-default": "off",
"react/no-unused-prop-types": "off",
"object-curly-newline": "off",
"no-underscore-dangle": "off",
"no-plusplus": "off",
"react/sort-comp": "off",
"no-mixed-operators": "off",
"class-methods-use-this": "off",
"no-return-assign": "off",
"no-multi-assign": "off",
"no-use-before-define": "off",
"react/no-multi-comp": "off"
},
"globals": {
"$Keys": true
}
}