-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.js
40 lines (33 loc) · 895 Bytes
/
.eslintrc.js
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
/* eslint-disable */
module.exports = {
"extends": [
"airbnb",
"plugin:jest/recommended"
],
"globals": {
"document": true
},
"plugins": [
"jest"
],
"rules": {
"strict": 0,
"comma-dangle": 0,
"no-tabs": 0,
"indent": [2, "tab", {"SwitchCase": 1}],
"arrow-parens": [2, "always"],
"no-underscore-dangle": [2, {"allowAfterThis": true}],
"max-len": [2, 120, 4, {"ignoreUrls": true}],
"no-confusing-arrow": [2, {"allowParens": true}],
"object-curly-spacing": [2, "never"],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"jsx-quotes": [2, "prefer-single"],
"react/jsx-filename-extension": [1, {"extensions": [".js", ".jsx"]}],
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"react/jsx-closing-bracket-location": [1, "after-props"],
"react/require-default-props": 0,
"react/no-array-index-key": 0
}
};