-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
46 lines (46 loc) · 1.19 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"indent": [2, 4],
"comma-dangle": "off",
"max-len": [2, 120],
"consistent-return": "off",
"generator-star-spacing": "off",
"class-methods-use-this": "off",
"arrow-parens": ["off"],
"object-curly-spacing": [2, "never"],
"import/no-extraneous-dependencies": "off",
"no-use-before-define": "off",
"no-underscore-dangle": "off",
"react/no-array-index-key": "off",
"react/jsx-no-bind": "off",
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-first-prop-new-line": "off",
"react/require-extension": "off",
"react/forbid-prop-types": "off",
"react/no-unused-prop-types": "off",
"react/prefer-stateless-function": "off",
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx"] }],
"react/require-default-props": "off",
"jsx-a11y/no-static-element-interactions": "off"
},
"plugins": [
"import",
"react",
"promise"
],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.eslint.js"
}
}
}
}