-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
51 lines (51 loc) · 942 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"root": true,
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"next",
"next/core-web-vitals"
],
"ignorePatterns": [
"*.json",
"/next-env.d.ts",
"/next-sitemap.js",
"/*.config.js"
],
"rules": {
"@next/next/no-html-link-for-pages": [
"error",
"./website/src/pages/"
],
"@typescript-eslint/no-non-null-assertion": "off",
"curly": [
"error",
"all"
],
"brace-style": [
"error",
"1tbs"
],
"func-style": [
2,
"declaration"
],
"no-void": "off",
"import/no-default-export": "error",
"multiline-ternary": "off"
},
"overrides": [
{
"files": [
"src/pages/**/*.page.tsx",
"src/pages/**/*.page.ts",
"src/pages/**/*.api.ts"
],
"rules": {
"import/no-default-export": "off",
"import/prefer-default-export": "error"
}
}
]
}