Skip to content

fix: keep both scripts when two built-in tools write the same one - #182

Closed
upupming wants to merge 1 commit into
rstackjs:mainfrom
upupming:fix/keep-colliding-scripts
Closed

fix: keep both scripts when two built-in tools write the same one#182
upupming wants to merge 1 commit into
rstackjs:mainfrom
upupming:fix/keep-colliding-scripts

Conversation

@upupming

Copy link
Copy Markdown
Contributor

ESLint and Rslint both write lint, and Biome and Prettier both write format. The tool applied later replaced the earlier one, so its config was installed but never run. This chains the two commands, e.g. eslint . && rslint.

Running two formatters in a row may call for a different answer, such as offering only one of them; happy to change the approach.

ESLint and Rslint both write a lint script, and Biome and Prettier both
write a format script. The tool applied later replaced the earlier one,
so its config was installed but never run. Chain the two commands
instead.

@chenjiahan chenjiahan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Biome and Prettier can produce different formatting, so running both on the same files does not resolve the conflict. I'd prefer selecting a single formatter by default...

@upupming

Copy link
Copy Markdown
Contributor Author

Make sense, not support is okay I think, just cloing this~

@upupming upupming closed this Sep 11, 2026
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