-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrenovate.json
More file actions
26 lines (26 loc) · 1.16 KB
/
Copy pathrenovate.json
File metadata and controls
26 lines (26 loc) · 1.16 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "group:allNonMajor"],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"groupName": "all major dependencies",
"groupSlug": "all-major"
},
{
"description": [
"web/dev だけ TypeScript 6 に留める。typescript-eslint 8.x の peer は",
"typescript '>=4.8.4 <6.1.0' で、TS7 を入れると",
"@typescript-eslint/typescript-estree が TS7 の compiler API 変更により",
"読み込み時点で TypeError (undefined 'Cjs') を投げて eslint が起動しない。",
"web/dev は typescript をコンパイラとして使っておらず (vite/vitest が",
"esbuild で変換、CI に tsc 呼び出し無し)、TS7 に上げる利得が無い一方で",
"linter を失う。tsc を実際に回す astlib/ast2ts と lsp は TS7 に追随済み。",
"typescript-eslint が TS7 を peer に含めたらこのルールは削除する。"
],
"matchFileNames": ["web/dev/package.json"],
"matchPackageNames": ["typescript"],
"allowedVersions": "<7"
}
]
}