From 448ae57c141cfc138aefcb304420be5931f21bc6 Mon Sep 17 00:00:00 2001 From: Dennis Jakobsen Date: Thu, 17 Sep 2026 08:24:29 +0200 Subject: [PATCH] ci(lint): declare getNodeFreshness as a readonly browser global roles.js defines window.getNodeFreshness at load time and index.html loads it before nodes.js and live.js, which call it as a bare global. ESLint's no-undef flagged both calls because the global was missing from .eslintrc.json, failing the frontend lint step. Co-Authored-By: Claude Opus 5 --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 1043e18c3..6c4252dce 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -226,6 +226,7 @@ "getFavorites": "readonly", "getHashParams": "readonly", "getHealthThresholds": "readonly", + "getNodeFreshness": "readonly", "getNodeStatus": "readonly", "getParsedDecoded": "readonly", "getParsedPath": "readonly",