-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
38 lines (38 loc) · 1.04 KB
/
.eslintrc.json
File metadata and controls
38 lines (38 loc) · 1.04 KB
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
{
"extends": "next/core-web-vitals",
"rules": {
"arrow-spacing": "error",
"arrow-parens": [ "error", "always" ],
"array-bracket-spacing": [
"error", "always"
],
"block-spacing": "error",
"brace-style": "error",
"comma-spacing": [ "error", { "before": false, "after": true } ],
"dot-location": [ "error", "property" ],
"react/react-in-jsx-scope": 0,
"no-multiple-empty-lines": [ "error", { "max": 1, "maxEOF": 1 } ],
"space-before-blocks": "error",
"react/prop-types": 0,
"indent": [ "error", 2 ],
"linebreak-style": [
"error",
"unix"
],
"padded-blocks": [ "error", "never" ],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": [ "default", "function" ], "next": "*" },
{ "blankLine": "never", "prev": [ "const", "let", "var", "if" ], "next": [ "*" ] }
],
"keyword-spacing": [ "error", { "before": true } ],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}