-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.json
30 lines (30 loc) · 1015 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
{
"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-unused-vars": ["error", { "args": "all", "argsIgnorePattern": "^_" }],
"no-duplicate-case": "error",
"no-empty": "error",
"class-methods-use-this": "error",
"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"
}
}