-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
38 lines (38 loc) · 829 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
38
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"airbnb-base/rules/strict",
"airbnb/rules/react"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"comma-dangle": "off",
"global-require": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"react/prefer-stateless-function": "off",
"class-methods-use-this": "warn",
"max-len": "warn",
"no-unused-vars": "warn",
"no-use-before-define": "warn",
"react/forbid-prop-types": "warn",
"react/no-unused-prop-types": "warn",
"react/prop-types": "warn",
"react/self-closing-comp": "warn",
"no-console": [
"warn",
{
"allow": [
"info",
"warn",
"error"
]
}
],
"no-underscore-dangle": "off"
}
}