-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (34 loc) · 1002 Bytes
/
.eslintrc.json
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
{
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"react/prop-types": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"prettier/prettier": "error",
"no-console": "off",
"react/jsx-props-no-spreading": "off",
"no-param-reassign": "warn",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-fragments": [2, "element"],
"no-underscore-dangle": [
"error",
{ "allow": ["_id", "__REDUX_DEVTOOLS_EXTENSION_COMPOSE__"] }
]
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "src/"]
}
}
}
}