-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc
30 lines (30 loc) · 983 Bytes
/
.eslintrc
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
{
"extends": ["next/core-web-vitals", "eslint:recommended", "prettier"],
"rules": {
"@next/next/no-html-link-for-pages": ["error", "app"],
"no-console": ["warn", { "allow": ["warn", "error"] }],
"jsx-quotes": ["error", "prefer-double"],
"quotes": ["error", "double", "avoid-escape"],
"dot-location": ["error", "property"],
"no-multi-spaces": "error",
"array-bracket-spacing": ["error", "never"],
"semi": ["error", "always"],
"semi-style": ["error", "last"],
"space-in-parens": ["error", "never"],
"array-element-newline": ["error", "consistent"],
"object-curly-spacing": ["error", "always"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-dangle": ["error", "never"],
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 2 }],
"key-spacing": [
"error",
{
"beforeColon": false,
"afterColon": true
}
]
},
"globals": {
"JSX": true
}
}