-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
32 lines (32 loc) · 880 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
30
31
32
{
"root": true,
"extends": [
"plugin:jsx-a11y/recommended",
"next/core-web-vitals",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended",
"plugin:prettier/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": ["jsx-a11y", "react-refresh", "@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"react-refresh/only-export-components": [
"warn",
{ "allowConstantExport": true }
],
"@typescript-eslint/no-namespace": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off"
},
"ignorePatterns": ["dist/**/*", ".eslintrc.json"]
}