Skip to content

Instantly share code, notes, and snippets.

@zzzarius
Created May 5, 2025 07:06
Show Gist options
  • Save zzzarius/d78af75f68e77b7d25f4ee2b703b52aa to your computer and use it in GitHub Desktop.
Save zzzarius/d78af75f68e77b7d25f4ee2b703b52aa to your computer and use it in GitHub Desktop.
Biome config
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"overrides": [
{
"include": ["*.astro"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
@zzzarius
Copy link
Author

zzzarius commented May 5, 2025

package.json scripts:

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

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