-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
41 lines (38 loc) · 1.07 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
{
"root": true,
"plugins": ["@typescript-eslint", "tailwindcss"],
"parser": "@typescript-eslint/parser",
"extends": [
"next",
"next/core-web-vitals",
// "eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:tailwindcss/recommended",
// "prettier",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": ["error", { "endOfLine": "auto", "printWidth": 105 }],
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"object-property-newline": "error",
"no-multiple-empty-lines": [
"error",
{
"max": 1
}
],
// "linebreak-style": ["error", "windows"],
"object-curly-newline": [
"error",
{
"ObjectExpression": { "multiline": true, "minProperties": 1 },
"ObjectPattern": { "multiline": true },
"ImportDeclaration": { "multiline": true },
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
}
],
"quote-props": ["error", "as-needed"],
"no-multi-spaces": "error"
}
}