-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
29 lines (29 loc) · 890 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
{
"extends": [
"next/core-web-vitals",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["import", "react", "react-hooks", "jsx-a11y", "@typescript-eslint"],
"rules": {
"indent": ["error", 2],
"no-console": "error",
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-empty-function": ["error", { "allow": ["arrowFunctions"] }],
"react/react-in-jsx-scope": "off"
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}
]
}