-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
33 lines (33 loc) · 997 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
{
"env": {
"browser": true,
"jest": true
},
"extends": ["airbnb", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["prettier"],
"rules": {
"indent": ["error", 4],
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"react/jsx-uses-react": "off",
"import/no-cycle": "off",
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/no-unknown-property": ["error", { "ignore": ["css"] }],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx", ".tsx"]
}
],
"arrow-body-style": "off"
},
"settings": { "import/resolver": { "node": { "moduleDirectory": ["node_modules", "src/", "test/"] } } }
}