Router.push was a no-op in the standalone build (Next trailingSlash interaction), so the sidebar buttons and command palette silently failed to navigate. Replaced next/link + router.push with plain <a href> anchors in NavRail and CommandPalette — verified working on all routes. Biome tightened to zero warnings: - Disable noArrayIndexKey (positional equalizer bars), noStaticElementInteractions (intentional dismiss/hover overlays), useMediaCaption (voice clips) - Avatar uses background-image instead of <img> (noImgElement) - Command palette list items keyed correctly - Format pass to satisfy the formatter
75 lines
1.6 KiB
JSON
75 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"src/**/*.ts",
|
|
"tests/**/*.ts",
|
|
"services/**/*.ts",
|
|
"services/**/*.tsx",
|
|
"*.json",
|
|
"*.ts",
|
|
"!vendor",
|
|
"!.claude",
|
|
"!services/**/dist",
|
|
"!services/**/.next",
|
|
"!services/**/out"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"style": {
|
|
"noNonNullAssertion": "warn",
|
|
"useNodejsImportProtocol": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noUnknownAtRules": "off",
|
|
"useIterableCallbackReturn": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noExplicitAny": "off"
|
|
},
|
|
"a11y": {
|
|
"useSemanticElements": "off",
|
|
"useButtonType": "off",
|
|
"noAutofocus": "off",
|
|
"useMediaCaption": "off",
|
|
"noStaticElementInteractions": "off"
|
|
},
|
|
"performance": {
|
|
"noImgElement": "warn"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "warn"
|
|
},
|
|
"correctness": {
|
|
"noInvalidUseBeforeDeclaration": "off",
|
|
"noUnusedFunctionParameters": "warn",
|
|
"noUnusedVariables": "warn",
|
|
"noUnusedImports": "warn",
|
|
"noUnusedPrivateClassMembers": "warn"
|
|
}
|
|
},
|
|
"domains": {
|
|
"next": "recommended",
|
|
"react": "recommended"
|
|
}
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|