numtide / treefmt-nix

treefmt nix configuration
https://numtide.github.io/treefmt/
MIT License
213 stars 62 forks source link

feat(formatters): Add biome.js as a formatter #147

Closed huwaireb closed 6 months ago

huwaireb commented 6 months ago

Hi, it's been awhile 👋!

I've only tested it by using it practically and running ./examples.sh, the README instructions seem to be out of date. It adheres to the formatter spec as far as I see.

Relevant Links

Biome

zimbatm commented 6 months ago

:wave: happy new year!

Looks good overall. let me know when it's ready!

huwaireb commented 6 months ago

👋 happy new year!

Looks good overall. let me know when it's ready!

Cheers 🥳,

I've adjusted the settings to align more with the biome spec, just kept things I thought were relevant. As well as, instead of using null I opt'd in for using defaults instead and filtered them if they were not in use to avoid setting the config-path.