forked from Linkvalue/MyLV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
26 lines (26 loc) · 791 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"jest": true
},
"rules": {
"semi": ["error", "never"],
"max-len": ["error", 120],
"no-underscore-dangle": ["error", { "allow": ["_id", "__REDUX_DEVTOOLS_EXTENSION_COMPOSE__"] }],
"consistent-return": "warn",
"no-restricted-syntax": "warn",
"no-await-in-loop": "warn",
"no-plusplus": "warn",
"no-shadow": "warn",
"prefer-promise-reject-errors": "warn",
"no-param-reassign": "warn",
"import/prefer-default-export": "warn",
"react/prop-types": "warn",
"react/no-unescaped-entities": "warn",
"react/forbid-prop-types": "warn",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off"
}
}