-
Notifications
You must be signed in to change notification settings - Fork 60
/
.eslintrc
32 lines (29 loc) · 910 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
{
"extends": ["airbnb", "plugin:prettier/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"rules": {
"class-methods-use-this": "off",
"default-case": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-underscore-dangle": ["error", {
"allow": ["__REDUX_DEVTOOLS_EXTENSION__"],
}],
"prettier/prettier": ["error", {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}],
"react/forbid-prop-types": ["error", { "forbid": "any" }],
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
"react/no-multi-comp": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": ["error", { "skipUndeclared": true }],
"react/require-default-props": "off",
"react/sort-comp": "off",
"semi": ["error", "never"],
}
}