-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 886 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
{
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier", "react-hooks"],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
"jsx-a11y/tabindex-no-positive": "off",
"prefer-arrow-callback": "error",
"import/prefer-default-export": "off",
"arrow-body-style": ["error", "as-needed"]
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["~components", "./src/components"],
["~utils", "./src/utils"],
["~pages", "./src/pages"],
["~sections", "./src/sections"],
["~static", "./src/static"]
],
"extensions": [".js", ".jsx", ".json"]
}
}
}
}