-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
.eslintrc.json
37 lines (37 loc) · 1010 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
33
34
35
36
37
{
"$schema": "https://json.schemastore.org/eslintrc",
"root": true,
"extends": [
"next/core-web-vitals",
"prettier",
"plugin:tailwindcss/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["tailwindcss", "@typescript-eslint"],
"rules": {
"@next/next/no-img-element": "off",
"jsx-a11y/alt-text": "off",
"react-hooks/exhaustive-deps": "off",
"tailwindcss/enforces-negative-arbitrary-values": "off",
"tailwindcss/no-contradicting-classname": "off",
"tailwindcss/no-custom-classname": "off",
"react/no-unescaped-entities": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
"@typescript-eslint/no-explicit-any": "off"
},
"settings": {
"tailwindcss": {
"callees": ["cn", "cva"],
"config": "tailwind.config.js"
}
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser"
}
]
}