-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
42 lines (42 loc) · 1.15 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
{
"$schema": "https://json.schemastore.org/eslintrc",
"root": true,
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:tailwindcss/recommended",
"prettier"
],
"plugins": ["@typescript-eslint", "prettier", "tailwindcss"],
"rules": {
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single", { "avoidEscape": true }],
"semi": ["error", "always"],
"comma-dangle": [2, "always-multiline"],
"react/react-in-jsx-scope": "off",
"prettier/prettier": "error",
"indent": "off",
"tailwindcss/no-custom-classname": "off",
// v eslint is wrong on these
"tailwindcss/classnames-order": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"settings": {
"tailwindcss": {
"callees": ["cn", "cva"],
"config": "tailwind.config.js"
},
"next": {
"rootDir": "./src/"
}
},
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
}
}