biome.json
Rama main · réplica de lectura del repositorio original.
{
"$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
"!dist",
"!.wrangler",
"!drizzle",
"!docs",
"!pnpm-lock.yaml",
"!worker-configuration.d.ts",
"!**/*.tsbuildinfo",
"!src/components/ui"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all",
"arrowParentheses": "always"
}
},
"json": {
"formatter": {
"enabled": true,
"trailingCommas": "none"
}
},
"css": {
"parser": {
"tailwindDirectives": true
},
"formatter": {
"enabled": true
}
},
"linter": {
"enabled": true,
"domains": {
"react": "recommended",
"project": "recommended"
},
"rules": {
"preset": "recommended",
"style": {
"useImportType": "error",
"useNodejsImportProtocol": "error",
"noNonNullAssertion": "error",
"useTemplate": "error"
},
"suspicious": {
"noConsole": {
"level": "warn",
"options": { "allow": ["warn", "error"] }
},
"noReactForwardRef": "error"
},
"nursery": {
"noDrizzleDeleteWithoutWhere": "error",
"noDrizzleUpdateWithoutWhere": "error"
}
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"overrides": []
}