-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
51 lines (50 loc) · 1.44 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7
},
"extends": "airbnb",
"plugins": ["react", "import"],
"env": {
"jest": true
},
"rules": {
"arrow-parens": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"eol-last": "off",
"func-call-spacing": "off",
"import/prefer-default-export": "off",
"indent": ["error", 4, {"SwitchCase": 1}],
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/label-has-for": "off",
"jsx-quotes": ["error", "prefer-double"],
"no-console": "off",
"no-trailing-spaces": "off",
"object-curly-newline": "off",
"react/forbid-prop-types": "off",
"react/jsx-closing-bracket-location": "off",
"react/jsx-curly-spacing": "off",
"react/jsx-filename-extension": "off",
"react/jsx-first-prop-new-line": "off",
"react/jsx-indent": "off",
"react/jsx-indent-props": "off",
"react/jsx-max-props-per-line": "off",
"react/jsx-wrap-multilines": "off",
"react/no-array-index-key": "off",
"template-curly-spacing": "off"
},
"globals": {
"document": true,
"mount": true,
"shallow": true,
"render": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./config/webpack.config.dev.js"
}
}
}
}