feat: add Biome configuration to downgrade noExplicitAny to warning

Created biome.json to configure Biome linter to treat noExplicitAny as a
warning instead of an error. This allows necessary any types in polymorphic
components while still encouraging type safety elsewhere.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ajax Davis 2025-11-26 18:54:23 +10:00
parent f451f169ad
commit 65be671143

29
biome.json Normal file
View file

@ -0,0 +1,29 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": [".next", "dist", ".turbo", "node_modules", "storybook-static"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "warn"
}
}
}
}