Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix biome error when running make lint#20182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 4 commits intomainfrombq/chore-fix-biome-lint
Oct 6, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Fixes a Biome lint error when runningmake lint.

> biome check --error-on-warnings --fix .biome.jsonc:6:13 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  ℹ The configuration schema version does not match the CLI version 2.2.4      4 │                 "includes": ["!e2e/**/*Generated.ts"]    5 │         },  > 6 │         "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json"      │                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^    7 │ }    8 │     ℹ   Expected:                     2.2.4      Found:                        2.2.0      ℹ Run the command biome migrate to migrate the configuration file.  Checked 1165 files in 796ms. No fixes applied.

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'll let Kayla chime in since she has a lot more context for Biome, but I feel like this isn't a deep enough fix for this problem, and we'll run into it again pretty soon

"includes": ["!e2e/**/*Generated.ts"]
},
"$schema":"https://biomejs.dev/schemas/2.2.0/schema.json"
"$schema":"https://biomejs.dev/schemas/2.2.4/schema.json"
Copy link
Member

@ParkreinerParkreinerOct 6, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think my biggest concern is that this feels like it's kicking the can down the road, and we'll have this problem again at some point. Like, if we update Biome to version2.10.11, but forget to update the schema, wouldn't that cause the same problem again?

I was looking at the documentation, though, and it looks like we can specify that we want the schema included innode_modules, which seems a lot more resilient to me

{"$schema":"./node_modules/@biomejs/biome/configuration_schema.json"}

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

That’s true — let me fix that.

@Parkreiner
Copy link
Member

Also, I'm a little unclear on why the top-levelpackage.json file is still on version2.2.0. Is there anything we can do to make sure that file and the one in/site stay in lockstep?

BrunoQuaresma reacted with thumbs up emoji

@BrunoQuaresma
Copy link
CollaboratorAuthor

@Parkreiner Thanks for the heads up! I’ve updated both configurations to use the installed package version, as mentioned in the docs:https://biomejs.dev/reference/configuration/#schema

Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍

@BrunoQuaresma
Copy link
CollaboratorAuthor

Since the current issue is breaking CI, I’m going to merge this. Feel free to reach out if you spot any improvements we can make here.

@BrunoQuaresmaBrunoQuaresma merged commit1783ee1 intomainOct 6, 2025
31 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/chore-fix-biome-lint branchOctober 6, 2025 14:51
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 6, 2025
@Parkreiner
Copy link
Member

Parkreiner commentedOct 6, 2025
edited
Loading

Ah, yeah, sorry, I think I'm still waking up, so I didn't put 2 and 2 together and realize that CI was probably broken right now

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mtojekmtojekmtojek approved these changes

@aslilacaslilacAwaiting requested review from aslilacaslilac is a code owner

@ParkreinerParkreinerAwaiting requested review from ParkreinerParkreiner is a code owner

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@BrunoQuaresma@Parkreiner@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp