mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2024-12-12 12:50:41 +00:00
91 lines
No EOL
1.6 KiB
JSON
91 lines
No EOL
1.6 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
|
|
"extends": [],
|
|
"files": {
|
|
"ignoreUnknown": true
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"ignore": [],
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 80
|
|
},
|
|
"javascript": {
|
|
"parser": {
|
|
"unsafeParameterDecoratorsEnabled": true
|
|
},
|
|
"globals": [
|
|
"Astro"
|
|
],
|
|
"formatter": {
|
|
"quoteStyle": "double",
|
|
"jsxQuoteStyle": "double",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
},
|
|
"json": {
|
|
"parser": {
|
|
"allowComments": true
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 80
|
|
}
|
|
},
|
|
"linter": {
|
|
"ignore": [],
|
|
"rules": {
|
|
"a11y": {
|
|
"recommended": true
|
|
},
|
|
"complexity": {
|
|
"recommended": true,
|
|
"noForEach": "off"
|
|
},
|
|
"correctness": {
|
|
"recommended": true
|
|
},
|
|
"performance": {
|
|
"recommended": true
|
|
},
|
|
"security": {
|
|
"recommended": true
|
|
},
|
|
"style": {
|
|
"recommended": true,
|
|
"noParameterAssign": "off",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"recommended": true,
|
|
"noExplicitAny": "off"
|
|
},
|
|
"nursery": {
|
|
"recommended": true
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": [
|
|
"*.svelte",
|
|
"*.astro"
|
|
],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"useConst": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |