blog.devcomp.xyz/biome.json

91 lines
1.6 KiB
JSON
Raw Normal View History

2024-07-05 11:46:46 +01:00
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"extends": [],
"files": {
"ignoreUnknown": true
},
2024-07-05 11:46:46 +01:00
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"ignore": [],
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"parser": {
"unsafeParameterDecoratorsEnabled": true
},
"globals": [
"Astro"
],
2024-07-05 11:46:46 +01:00
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"semicolons": "always",
2024-07-05 11:46:46 +01:00
"arrowParentheses": "asNeeded"
}
},
"json": {
"parser": {
"allowComments": true
},
2024-07-05 11:46:46 +01:00
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
}
},
"linter": {
"ignore": [],
"rules": {
"a11y": {
"recommended": true
},
"complexity": {
"recommended": true,
"noForEach": "off"
2024-07-05 11:46:46 +01:00
},
"correctness": {
"recommended": true
},
"performance": {
"recommended": true
},
"security": {
"recommended": true
},
"style": {
"recommended": true,
"noParameterAssign": "off",
"useNodejsImportProtocol": "off"
2024-07-05 11:46:46 +01:00
},
"suspicious": {
"recommended": true,
"noExplicitAny": "off"
2024-07-05 11:46:46 +01:00
},
"nursery": {
"recommended": true
}
}
},
"overrides": [
{
"include": [
"*.svelte",
"*.astro"
],
"linter": {
"rules": {
"style": {
"useConst": "off"
}
}
}
}
]
}