-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
42 lines (42 loc) · 1.24 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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals",
"plugin:tailwindcss/recommended",
"plugin:oxlint/recommended"
],
"plugins": ["simple-import-sort", "unused-imports", "tailwindcss"],
"rules": {
"unused-imports/no-unused-imports": "warn",
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "off",
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"eqeqeq": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"no-restricted-imports": [
"error",
{
"name": "react-i18next",
"message": "please import from 'next-i18next'"
}
]
},
"settings": {
"tailwindcss": {
"callees": ["cn", "cva"],
"config": "tailwind.config.js"
}
}
}