biome.jsonc
Rama main · réplica de lectura del repositorio original.
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [
"ultracite/biome/core",
"ultracite/biome/react",
"ultracite/biome/next",
"ultracite/biome/astro"
],
"html": {
"experimentalFullSupportEnabled": true
},
"files": {
"includes": [
"!packages/ui/src",
"packages/editor/src",
"!apps/cms/src/hooks/use-mobile.tsx"
]
},
"linter": {
"rules": {
"suspicious": {
/* Needs more work to fix */
"noConsole": "off",
/* Needs more work to fix */
"useAwait": "off",
/* Allowed for Tailwind */
"noUnknownAtRules": "off"
},
"style": {
/* Needs more work to fix */
"noMagicNumbers": "off",
/* Needs more work to fix */
"noNestedTernary": "off",
/* Doesn't work with Astro */
"useFilenamingConvention": "off"
},
"complexity": {
/* Has false positives */
"useSimplifiedLogicExpression": "off",
/* Needs more work to fix */
"noExcessiveCognitiveComplexity": "off"
},
"nursery": {
/* Needs more work to fix */
"noShadow": "off",
/* Has false positives */
"noUnnecessaryConditions": "off"
},
"performance": {
/* Needs more work to fix */
"useTopLevelRegex": "off",
"noNamespaceImport": "warn"
},
"correctness": {
/* Doesn't work with Astro */
"noUnusedImports": "off",
/* Needs more work to fix */
"noUnusedVariables": "off"
}
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"overrides": [
{
"includes": ["apps/mcp/**/*.tsx"],
"linter": {
"rules": {
"style": {
"noHeadElement": "off"
},
"performance": {
"noImgElement": "off"
}
}
}
}
]
}