Provide biome configuration

This commit is contained in:
fl0werpowers 2025-01-10 19:40:25 +01:00
parent 09f8670db7
commit cf6764f3f9

27
biome.json Normal file
View File

@ -0,0 +1,27 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto",
"ignore": ["**/public", "**/node_modules", "**/.quartz-cache"]
},
"organizeImports": { "enabled": true },
"linter": { "enabled": false, "rules": { "recommended": true } },
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingComma": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"attributePosition": "auto"
}
}
}