Repository navigation
chore(lint): biome.json を biome 2.6 の形式に更新する - #671
Merged
Merged
Conversation
- $schema を node_modules の configuration_schema.json にする。入っている biome の版に 追従するので、dependabot が biome を上げるたびに版の食い違いの info が出なくなる - 非推奨の linter.rules.recommended を preset: "recommended" にする Closes #670 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PZw9ixctzDYP4gz4Utkf3c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #670
biome checkがbiome.jsonについて出していた info 2 件を解消する。lint の結果は変わらない。$schemaを./node_modules/@biomejs/biome/configuration_schema.jsonにする(biome.json を biome 2.6 の形式に更新する #670 の「合わせて決めること」の 2 つ目)。入っている biome の版の schema を読むので、dependabot が biome を上げるたびにThe configuration schema version does not match the CLI versionが出なくなる。node_modules の schema を指しても、この info は出ないことを確かめたlinter.rules.recommended: trueをpreset: "recommended"にする(biome migrateの提案と同じ)利用者に届く変更ではないので CHANGELOG には足さない。
確認
just checkが通る。warning とエラーは 0 件、info は変更前と同じ 38 件(biome.jsonの 2 件だけが消えた)npx biome migrateがYour configuration file is up to date.を返す🤖 Generated with Claude Code
https://claude.ai/code/session_01PZw9ixctzDYP4gz4Utkf3c