Open SoonIter opened 3 months ago
We have enabled the organizeImports
feature of Biome, but the git hooks only only run prettier before commit (see lint-staged.config.mjs
).
After pushing code, the Biome may throw an error for organizeImports
, which is a bit annoying. We should run Biome in the pre-commit hook to solve this.
https://github.com/web-infra-dev/rspack/actions/runs/9993447832/job/27620851849
The rule that caused large changes has been opened, and the remaining rules can be opened in batches 😁
What subject does this issue tracking?
Recommended rules https://biomejs.dev/linter/rules/#recommended-rules