-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
50 lines (50 loc) · 1.06 KB
/
.eslintrc
File metadata and controls
50 lines (50 loc) · 1.06 KB
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
{
"extends": "airbnb",
"settings": {
"import/resolver": {
"webpack": {
"config": "config/webpack.config.js"
}
}
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"amd": true,
"browser": true,
"node": true,
"es6": true,
"worker": true
},
"rules": {
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}
],
"linebreak-style": [ "error", "windows" ],
"indent": [
"error",
4,
{ "SwitchCase": 1 }
],
"brace-style": [ "error", "stroustrup" ],
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"no-plusplus": [
"error",
{ "allowForLoopAfterthoughts": true }
],
"jsx-quotes": [ "error", "prefer-single" ],
"react/jsx-indent": [ "error", 4 ],
"react/jsx-indent-props": [ "error", 4 ],
"react/prop-types": 0
}
}