-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
31 lines (31 loc) · 1.02 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
{
"extends": ["next", "next/core-web-vitals", "prettier"],
"plugins": ["prettier", "simple-import-sort", "tailwindcss"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"quotes": ["error", "double"],
"prettier/prettier": "error",
"no-console": "error",
"simple-import-sort/imports": "error",
"no-duplicate-imports": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-use-before-define": "error",
"class-methods-use-this": "error",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-dupe-keys": "error",
"no-dupe-args": "error",
"no-case-declarations": "error",
"tailwindcss/classnames-order": "warn",
"tailwindcss/enforces-negative-arbitrary-values": "warn",
"tailwindcss/enforces-shorthand": "warn",
"tailwindcss/migration-from-tailwind-2": "warn",
"tailwindcss/no-arbitrary-value": "off",
"tailwindcss/no-custom-classname": "warn",
"tailwindcss/no-contradicting-classname": "error"
}
}