Skip to content

Tweak scripts#3

Open
toyamarinyon wants to merge 1 commit intomainfrom
tweak-scripts
Open

Tweak scripts#3
toyamarinyon wants to merge 1 commit intomainfrom
tweak-scripts

Conversation

@toyamarinyon
Copy link
Contributor

The biome check command applies both biome format and biome lint, so the format script is enough for biome check --apply.

https://biomejs.dev/guides/getting-started/#usage

@toyamarinyon toyamarinyon requested a review from MH4GF as a code owner March 14, 2024 13:50
"format": "pnpm format:biome:format && pnpm format:biome:check",
"format:biome:format": "biome format --write .",
"format:biome:check": "biome check --apply ."
"lint": "biome lint .",
Copy link
Contributor

Choose a reason for hiding this comment

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

From the user's point of view, I think biome lint is not sufficient since it does not check format files and organize imports.
I think it would be better to leave biome check as it is. What do you think?

"format:biome:format": "biome format --write .",
"format:biome:check": "biome check --apply ."
"lint": "biome lint .",
"format": "biome check --apply ."
Copy link
Contributor

Choose a reason for hiding this comment

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

This one looks good! Thank you 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants