-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
63 lines (61 loc) · 1.3 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
{
// Extend existing configuration
// from ESlint and eslint-plugin-react defaults.
"extends": [
"airbnb"
],
// Enable ES6 support. If you want to use custom Babel
// features, you will need to enable a custom parser
// as described in a section below.
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true,
"jest": true
},
"ecmaFeatures": {
"jsx": true,
"es6": true,
"classes": true
},
// Enable custom plugins
"plugins": [],
"rules": {
"arrow-body-style": [
0
],
"arrow-parens": 0,
"comma-dangle": [
0,
"always-multiline"
],
"consistent-return": 0,
"func-names": 0,
"eol-last": 0,
"import/no-dynamic-require" : 0,
"import/no-unresolved": [
0
],
"import/prefer-default-export": 0,
"indent": ["error", 4, {"SwitchCase": 1}],
"keyword-spacing": 0,
"max-len": [
1,
180,
4
],
"no-else-return": 0,
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-shadow": 0,
"no-use-before-define": ["error", { "functions": false, "classes": true }],
"no-underscore-dangle": 0,
"object-curly-spacing": 0,
"react/jsx-indent": ["error", 4],
"react/jsx-no-bind": [
0
],
"react/jsx-filename-extension": 0
}
}