-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
44 lines (44 loc) · 1.29 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
{
"extends": [
"next",
"next/core-web-vitals",
"prettier",
"plugin:tailwindcss/recommended"
],
"settings": {
"tailwindcss": {
"callees": ["cn"],
"config": "tailwind.config.js"
},
"next": {
"rootDir": ["./"]
}
},
"rules": {
"react-hooks/rules-of-hooks": "off",
"no-use-before-define": "off",
"linebreak-style": "off",
"import/no-cycle": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"react/no-array-index-key": "off",
"react/no-unused-prop-types": "off",
"jsx-a11y/click-events-have-key-events": "off",
"import/prefer-default-export": "off",
"react-hooks/exhaustive-deps": "off",
"no-restricted-globals": "off",
"no-bitwise": "off",
"no-param-reassign": "off",
"@typescript-eslint/indent": "off",
"react/prop-types": "off",
"react/display-name": "off",
"@tanstack/query/exhaustive-deps": "error",
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
]
},
"plugins": ["tailwindcss", "@tanstack/query", "import"]
}