-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc.json
25 lines (25 loc) · 884 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals",
"next/typescript",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "@stylistic/js"],
"root": true,
"rules": {
"@stylistic/js/padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "return", "next": "*" },
{ "blankLine": "always", "prev": "*", "next": "return" },
{ "blankLine": "always", "prev": "if", "next": "*" },
{ "blankLine": "always", "prev": "*", "next": "if" },
{ "blankLine": "always", "prev": ["const", "let"], "next": "*" },
{ "blankLine": "always", "prev": "*", "next": ["const", "let"] },
{ "blankLine": "never", "prev": "const", "next": "const" },
{ "blankLine": "never", "prev": "let", "next": "let" }
]
}
}