goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.1k stars 121 forks source link

feat(nx): add biomejs support for lightning-fast formatting and lint + compat w/ prettier and eslint #267

Closed benpsnyder closed 2 months ago

benpsnyder commented 2 months ago

Please close #265 before considering this PR

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Currently using both prettier and eslint

What is the new behavior?

Adds support for biomejs while also staying compatible with prettier and eslint

Does this PR introduce a breaking change?

Other information

pnpm run biome.format or pnpm run biome.lint to execute biome from CLI. Also, I configured it to format on file save in VS Code. Open to making changes to the approach in order to get this included.