Skip to content

Instantly share code, notes, and snippets.

@zzzarius
Last active August 14, 2025 18:11
Show Gist options
  • Select an option

  • Save zzzarius/d78af75f68e77b7d25f4ee2b703b52aa to your computer and use it in GitHub Desktop.

Select an option

Save zzzarius/d78af75f68e77b7d25f4ee2b703b52aa to your computer and use it in GitHub Desktop.
Biome config
{
"root": false,
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": ["**"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"overrides": [
{
"includes": ["**/*.astro"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
@zzzarius
Copy link
Author

zzzarius commented May 5, 2025

npm i -D @biomejs/biome
package.json scripts:

    "lint": "biome check",
    "lint:fix": "biome check --write",
    "lint:dangerous": "biome lint --write --unsafe",
    "biome:migrate: "biome migrate --write"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment