Repository navigation
chore(deps-dev): eslint-plugin-astro 1.7.0에서 3.1.0으로 올린다 - #133
Conversation
Dependabot PR #96(1.7.0 → 3.0.1)을 대체한다. #96은 base 충돌 상태라 그대로 쓸 수 없고, 최신인 3.1.0으로 올린다. 메이저 2번을 건너뛴다. - v2: ESLint 8/9 지원 중단(10 필수), CJS 엔트리 제거(ESM only) - v3: astro-eslint-parser v3 — .astro 파싱이 @astrojs/compiler-rs(Rust)로 전환. astro/no-omitted-end-tags·astro/valid-compile을 recommended에서 제거 eslint.config.js는 손대지 않는다. configs.recommended가 v3에서도 flat config 배열로 그대로 제공된다. peer로 추가된 eslint-plugin-jsx-a11y는 peerDependenciesMeta에서 optional로 표시돼 있고 jsx-a11y config를 쓰지 않으므로 devDependency에 추가하지 않는다. 검증: - eslint(tracked 파일): 0 errors - .astro 51개 전부 astro-eslint-parser@3.0.0으로 파싱, 0 errors - pnpm audit: 0건 유지
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Review:
|
eslint-plugin-astro 3.1.0이 요구하는 engines는 `^22.22.3 || ^24.16.0 || >=26.3.0`인데 package.json은 `>=22.12.0`이었다. 22.12.0~22.22.2 구간에 고정된 기여자는 설치 시 원인이 불분명한 경고를 만난다. 단순 하한 상향(`>=22.22.3`)으로는 부족하다. 이 범위는 24.0~24.15와 25.x, 26.0~26.2도 배제하는데 하한만 올리면 그 구간이 여전히 허용된다. 실제로 로컬 Node v24.11.0이 여기에 해당해 경고가 잡히지 않았다. 플러그인 범위를 그대로 반영해 실제 지원 구간만 남긴다. CI는 영향 없다. ci.yml/astro.yml 모두 `node-version: 22`라 actions/setup-node가 최신 22.x(>=22.22.3)로 해소한다. CLAUDE.md/AGENTS.md의 설치 안내도 함께 갱신한다(동기화 검사 통과).
|
리뷰 반영했습니다. 1. Node engine floor mismatch — 수정 (b6c107b) 지적하신 대로 - "node": ">=22.12.0"
+ "node": "^22.22.3 || ^24.16.0 || >=26.3.0"단순 하한 상향이 부족한 이유는 플러그인 범위가 24.0 CI 영향은 없습니다 —
2. 제거된 규칙 2개의 커버리지 — 확인 결과 조치 불필요
🤖 Addressed by Claude Code |
Dependabot PR #96(1.7.0 → 3.0.1)을 대체합니다. #96은 base 충돌(CONFLICTING) 상태라 그대로 쓸 수 없어, 새 브랜치에서 최신인 3.1.0으로 올립니다.
건너뛰는 메이저 2번
^22.22.3 || ^24.16.0 || >=26.3.0astro-eslint-parserv3 —.astro파싱이@astrojs/compiler-rs(Rust)로 전환.astro/no-omitted-end-tags·astro/valid-compile을 recommended에서 제거ESLint 10 요구사항은 #131에서
eslint10.8.0으로 올라가 이미 충족된 상태입니다.코드 변경이 없는 이유
eslint.config.js수정 불필요 —configs.recommended가 v3에서도 flat config 배열로 그대로 제공됩니다.eslint-plugin-jsx-a11y추가 불필요 — v3에서 peer로 선언되긴 했지만peerDependenciesMeta에optional: true로 표시돼 있고(@typescript-eslint/parser,typescript-eslint도 동일), 이 레포는 jsx-a11y config를 쓰지 않습니다.제거된 두 규칙(
no-omitted-end-tags,valid-compile)은eslint.config.js에서 개별 설정한 적이 없어 영향이 없습니다.valid-compile의 역할은 빌드 체인의astro check가 이미 담당합니다.검증
File ignored안내).astro파싱astro-eslint-parser@3.0.0, 0 errorspnpm audit파서 교체가 핵심 변경이라, 린트가
.astro를 조용히 건너뛰지 않는지 파일 수까지 확인했습니다.lockfile은 209줄 줄어듭니다(구
@astrojs/compiler계열 정리).Closes #96