From 65be67114344f8eabaa14cee095fe1e7cbc35e09 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Wed, 26 Nov 2025 18:54:23 +1000 Subject: [PATCH] feat: add Biome configuration to downgrade noExplicitAny to warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- biome.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..8225e3a --- /dev/null +++ b/biome.json @@ -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" + } + } + } +}