-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 849 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"rules": {
"linebreak-style": 0,
"no-param-reassign": 0,
"import/no-extraneous-dependencies": 0,
"indent": ["error", 4],
"comma-dangle": ["error", "never"],
"arrow-parens": ["error", "as-needed"],
"max-len": ["error", 120],
"no-console": 0,
"class-methods-use-this": [
"error", {
"exceptMethods": [
"componentDidMount",
"componentDidUpdate",
"componentWillMount",
"componentWillReceiveProps",
"componentWillUnmount",
"componentWillUpdate",
"render",
"shouldComponentUpdate",
]
}
]
},
"env": {
"browser": true
}
}