From 0f7821d974790f9332e59ccd9666dd16cc4e0fc3 Mon Sep 17 00:00:00 2001 From: Stephen Cresswell <229672+cressie176@users.noreply.github.com> Date: Thu, 4 Sep 2025 20:21:32 +0100 Subject: [PATCH] Ensure no variable redeclarations exist to prevent shadowing issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable the noRedeclare lint rule to prevent variable shadowing and maintain code clarity. The codebase already complies with this rule. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- CHANGELOG.md | 1 + biome.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d18c1b..1ddf3f65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Refactor assignment-in-expression patterns to improve code clarity and readability - Enforce strict equality checks (=== and !==) instead of loose equality (== and !=) - Replace global isNaN with Number.isNaN for safer type checking +- Ensure no variable redeclarations exist to prevent shadowing issues ## v0.10.9 - Add support for IPv6 urls diff --git a/biome.json b/biome.json index fd3791c9..3184e823 100644 --- a/biome.json +++ b/biome.json @@ -23,7 +23,6 @@ "noRedundantUseStrict": "error", "noAsyncPromiseExecutor": "off", "noGlobalIsNan": "error", - "noRedeclare": "off", "noGlobalIsFinite": "off", "noPrototypeBuiltins": "off", "noVar": "error"