-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
44 lines (44 loc) · 1.11 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
{
"plugins": ["@wonse"],
"extends": ["next/core-web-vitals", "plugin:@wonse/auto", "plugin:tailwindcss/recommended"],
"rules": {
"no-restricted-exports": "off",
"@typescript-eslint/consistent-type-imports": "error",
"react/function-component-definition": [
2,
{ "namedComponents": ["arrow-function", "function-declaration"] }
]
},
"settings": {
"tailwindcss": {
"callees": ["cn"]
}
},
"overrides": [
{
"files": ["**/components/ui/**/*.tsx"],
"rules": {
"@typescript-eslint/no-shadow": "off",
"react/prop-types": [
2,
{
"ignore": [
"className",
"size",
"variant",
"sideOffset",
"checked",
"decorative",
"orientation"
]
}
],
"react-refresh/only-export-components": "off",
"react/jsx-no-constructed-context-values": "off",
"consistent-return": "off",
"jsx-a11y/heading-has-content": "off",
"jsx-a11y/anchor-has-content": "off"
}
}
]
}