Setting up Biome
Quickly configure Biome for your Astro project
-
Install biome using your preferred package manager:
-
Next create the biome configuration:
-
Provide the overrides property inside biome config to support
.astro
files: -
Run Biome’s CLI to lint & format your project’s files:
Adding package.json script
You can use Biome CLI with your preferred package manager by adding following scripts in package.json
of your project’s directory: