stevearc / conform.nvim

Lightweight yet powerful formatter plugin for Neovim
MIT License
2.72k stars 142 forks source link

fix(biome-check): use safe fixes #373

Closed cesconix closed 3 months ago

cesconix commented 3 months ago

This PR updates the biome-check formatter. The modification changes the default behavior from using unsafe code fix mode to safe code fix mode to enhance reliability and security when auto-correcting code.

More details about the tool can be found at biomejs.dev/linter.

stevearc commented 3 months ago

Yeah, I think this makes sense. Safe should be the default, and if people want to apply the unsafe fixes they can either customize this formatter or clone it to create a separate one.