-
-
Notifications
You must be signed in to change notification settings - Fork 584
Expand file tree
/
Copy path.eslintrc.json
More file actions
32 lines (32 loc) · 646 Bytes
/
Copy path.eslintrc.json
File metadata and controls
32 lines (32 loc) · 646 Bytes
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
{
"extends": "next/core-web-vitals",
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": [
{
"group": [
"**/uptime.config"
],
"importNames": [
"workerConfig"
],
"message": "Do not import workerConfig in client-bundled files. See https://github.com/lyc8503/UptimeFlare/issues/198 for details."
}
]
}
]
},
"overrides": [
{
"files": [
"pages/api/data.ts",
"middleware.ts"
],
"rules": {
"no-restricted-imports": "off"
}
}
]
}