-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 912 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
{
"extends": ["next/core-web-vitals", "plugin:react/recommended"],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["simple-import-sort", "import", "unused-imports", "react-hooks", "react"],
"rules": {
"react/react-in-jsx-scope": "off",
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "off",
"react/jsx-key": [
"error",
{
"checkFragmentShorthand": true
}
],
"react/require-render-return": "error"
},
"settings": {
"import/resolver": {
"typescript": true,
"node": true
}
}
}