-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
41 lines (40 loc) · 1.04 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals",
"prettier"
],
"rules": {
"@typescript-eslint/brace-style": [
"error",
"1tbs",
{ "allowSingleLine": true }
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/func-call-spacing": ["error"],
"@typescript-eslint/member-ordering": ["warn"],
"@typescript-eslint/no-require-imports": ["error"],
"react/no-unused-prop-types": ["warn", { "skipShapeProps": true }],
"array-bracket-spacing": ["warn", "never"],
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
["internal", "parent"],
["sibling", "index"]
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"max-len": ["warn", { "code": 120 }],
"no-console": "warn",
"no-plusplus": "error",
"object-curly-spacing": ["warn", "always"]
}
}