-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
84 lines (84 loc) · 2.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"extends": [
"next/core-web-vitals",
"plugin:tailwindcss/recommended"
],
"rules": {
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"no-undef": "off",
"no-use-before-define": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"no-nested-ternary": "off",
"no-bitwise": "off",
"no-unused-expressions": "off",
"no-return-assign": "off",
"no-useless-constructor": "off",
"no-empty-function": "off",
"no-prototype-builtins": "off",
"no-undef-init": "off",
"no-restricted-globals": "off",
"no-useless-escape": "off",
"no-irregular-whitespace": "off",
"lines-between-class-members": [
"error",
"always",
{
"exceptAfterSingleLine": true
}
],
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"semi": "error",
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 0,
"maxBOF": 0
}
],
"no-trailing-spaces": "error",
"tailwindcss/no-custom-classname": "off",
"jsx-quotes": [
"error",
"prefer-double"
]
}
}