-
Notifications
You must be signed in to change notification settings - Fork 95
/
.eslintrc
37 lines (37 loc) · 867 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
{
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["import", "jsx-a11y", "react", "react-hooks", "prettier"],
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"rules": {
"prettier/prettier": "error",
"react/jsx-filename-extension": [
"warn",
{
"extensions": [".jsx", ".js"]
}
],
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-spreading": "off",
"react/forbid-prop-types": "off",
"react/jsx-fragments": "off",
"react/function-component-definition": [
2,
{
"namedComponents": "function-declaration"
}
]
},
"env": {
"browser": true,
"jest": true,
"node": true
}
}