Added biome

This commit is contained in:
Patrick Alvin Alcala 2025-11-20 15:24:51 +08:00
parent d5625edfe6
commit dd4686fee7
3 changed files with 89 additions and 65 deletions

View file

@ -1,22 +1,46 @@
{
"formatter": {
"semicolons": "asNeeded",
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 500,
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 320,
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": true,
"quoteStyle": "single",
"trailingCommas": "es5",
"quoteProperties": "preserve"
"expand": "auto",
"useEditorconfig": true
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "single",
"lineWidth": 500
"attributePosition": "auto",
"bracketSpacing": true
}
},
"json": {
"json": { "formatter": { "enabled": false } },
"html": {
"formatter": {
"enabled": false
"indentScriptAndStyle": false,
"selfCloseVoidElements": "always"
}
},
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off"
},
"a11y": {
"useKeyWithClickEvents": "off",
"noStaticElementInteractions": "off"
}
}
}
}
}