Kyoo/biome.json
2026-02-09 14:09:31 +01:00

81 lines
1.4 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "tab",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto"
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"useEnumInitializers": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noTemplateCurlyInString": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"complexity": {
"noBannedTypes": "off",
"noUselessUndefinedInitialization": "off"
},
"correctness": {
"noUnusedVariables": "off"
},
"nursery": {
"useSortedClasses": {
"level": "warn",
"options": {
"attributes": [
"classList"
],
"functions": [
"clsx",
"cva",
"cn",
"tw",
"tw.*"
]
}
}
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
}
}