2024-07-05 11:46:46 +01:00
|
|
|
{
|
|
|
|
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
|
|
|
|
"extends": [],
|
2024-07-05 16:44:35 +01:00
|
|
|
"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
|
|
|
|
},
|
2024-07-05 16:44:35 +01:00
|
|
|
"globals": [
|
|
|
|
"Astro"
|
|
|
|
],
|
2024-07-05 11:46:46 +01:00
|
|
|
"formatter": {
|
2024-07-05 16:44:35 +01:00
|
|
|
"quoteStyle": "double",
|
|
|
|
"jsxQuoteStyle": "double",
|
|
|
|
"semicolons": "always",
|
2024-07-05 11:46:46 +01:00
|
|
|
"arrowParentheses": "asNeeded"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"json": {
|
2024-07-05 16:44:35 +01:00
|
|
|
"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": {
|
2024-07-05 16:44:35 +01:00
|
|
|
"recommended": true,
|
|
|
|
"noForEach": "off"
|
2024-07-05 11:46:46 +01:00
|
|
|
},
|
|
|
|
"correctness": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"security": {
|
|
|
|
"recommended": true
|
|
|
|
},
|
|
|
|
"style": {
|
2024-07-05 16:44:35 +01:00
|
|
|
"recommended": true,
|
|
|
|
"noParameterAssign": "off",
|
|
|
|
"useNodejsImportProtocol": "off"
|
2024-07-05 11:46:46 +01:00
|
|
|
},
|
|
|
|
"suspicious": {
|
2024-07-05 16:44:35 +01:00
|
|
|
"recommended": true,
|
|
|
|
"noExplicitAny": "off"
|
2024-07-05 11:46:46 +01:00
|
|
|
},
|
|
|
|
"nursery": {
|
|
|
|
"recommended": true
|
|
|
|
}
|
|
|
|
}
|
2024-07-05 16:44:35 +01:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"include": [
|
|
|
|
"*.svelte",
|
|
|
|
"*.astro"
|
|
|
|
],
|
|
|
|
"linter": {
|
|
|
|
"rules": {
|
|
|
|
"style": {
|
|
|
|
"useConst": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|