biome.json
Rama master · réplica de lectura del repositorio original.
{
"$schema": "https://biomejs.dev/schemas/2.6.3/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": {
"preset": "recommended",
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"useEnumInitializers": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noTemplateCurlyInString": "off",
"noDuplicateCustomProperties": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"complexity": {
"noBannedTypes": "off",
"noUselessUndefinedInitialization": "off"
},
"correctness": {
"noUnusedVariables": "off"
},
"nursery": {
"useTailwindSortedClasses": {
"level": "warn"
}
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"tailwind": {
"attributes": ["class", "className", "classList"],
"mergeFunctions": ["clsx", "cn", "tw"],
"variantFunctions": ["cva"]
}
}