-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
48 lines (48 loc) · 1.25 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
45
46
47
48
{
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended",
"plugin:tailwindcss/recommended"
],
"plugins": ["@typescript-eslint", "react", "react-hooks", "tailwindcss"],
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": {
"attributes": false
}
}
],
"no-console": ["error", { "allow": ["error"] }],
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "off"
},
"settings": {
"tailwindcss": {
"callees": ["cn", "cva"],
"config": "tailwind.config.ts"
},
"react": {
"version": "detect"
}
},
"ignorePatterns": ["/lib/env.ts", "/postcss.config.js", "/modules/types"]
}