- Add biome.json with recommended preset + custom rules - Remove eslint.config.mjs (root, apps/react, apps/elysia) - Remove .prettierrc and .prettierignore - Update package.json: remove eslint/prettier deps, add biome scripts - Update Makefile: lint/format targets to biome - Update CI (lint.yml): eslint -> biome ci - Update VSCode config: biomejs.biome extension + default formatter - Apply biome format --write to all files - Update submodule pointers for react and elysia Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"preset": "recommended",
|
|
"suspicious": {
|
|
"noConsole": "off",
|
|
"noExplicitAny": "warn"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "error"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
},
|
|
"complexity": {
|
|
"noForEach": "off",
|
|
"noThisInStatic": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"jsxRuntime": "transparent",
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "always"
|
|
}
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"includes": [
|
|
"**",
|
|
"!**/.opencode",
|
|
"!**/dist",
|
|
"!**/out",
|
|
"!**/build",
|
|
"!**/node_modules",
|
|
"!**/target",
|
|
"!**/coverage",
|
|
"!**/*.env",
|
|
"!**/*.env.*",
|
|
"!**/apps/react/src/routeTree.gen.ts"
|
|
]
|
|
}
|
|
}
|