biome-config-astro
v1.2.4
Published
Shared Biome config for Astro projects
Downloads
58
Maintainers
Readme
biome-config-astro
Shared Biome config for Astro projects
Usage
Installation
(bun|npm|pnpm|yarn) add -D @biomejs/biome biome-config-astroAdd the extends array to your project's biome.json file:
// <project-root>/biome.json
{
// ...
"extends": ["biome-config-astro"],
// ...
}Add scripts to your package.json if you haven't already:
// <project-root>/package.json
{
//...
"scripts": {
"format": "biome format . --write",
"lint": "biome lint .",
"lint:fix": "biome lint . --apply",
"lint:fix:unsafe": "biome lint . --apply-unsafe"
}
// ...
}Links
License
ISC License © 2024 Marc Redwerkz
