tpmjs/packages/config/biome.json
Ajax Davis f8740fb7ff fix: add biome-ignore comments and config overrides for lint issues
- Add ToolSearchResult interface with biome-ignore for dynamic tool types
- Add biome-ignore comments for UIMessage.parts type casting
- Add biome config overrides for complexity warnings in MessageBubble.tsx
- Add biome config override for MobileMenu.tsx a11y rule
- Add biome config override for railway-executor complexity
- Fix unused template literal in railway-executor
- All lint tasks now pass with 0 errors

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-02 01:51:46 +10:00

111 lines
2.2 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/.next/**",
"**/out/**",
"**/coverage/**",
"**/.turbo/**",
"**/storybook-static/**",
"**/*.tsbuildinfo",
"**/next-env.d.ts"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExcessiveCognitiveComplexity": "warn",
"noForEach": "off"
},
"style": {
"useImportType": "error",
"useNodejsImportProtocol": "error"
},
"suspicious": {
"noExplicitAny": "warn"
},
"a11y": {
"noSvgWithoutTitle": "warn",
"useSemanticElements": "warn"
}
}
},
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5",
"semicolons": "always"
}
},
"overrides": [
{
"include": ["**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx"],
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off"
}
}
}
},
{
"include": ["**/layout.tsx", "**/page.tsx"],
"linter": {
"rules": {
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
}
},
{
"include": ["**/MobileMenu.tsx"],
"linter": {
"rules": {
"a11y": {
"useSemanticElements": "off"
}
}
}
},
{
"include": ["**/MessageBubble.tsx"],
"linter": {
"rules": {
"complexity": {
"noExcessiveCognitiveComplexity": "off"
}
}
}
},
{
"include": ["**/railway-executor/server.ts"],
"linter": {
"rules": {
"complexity": {
"noExcessiveCognitiveComplexity": "off"
}
}
}
}
]
}