From 07bf9dd9b40068cf8f6f1dfd4ba327297e230763 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sat, 14 Feb 2026 22:43:21 -0600 Subject: [PATCH] fix(#1): add Node.js globals to ESLint config ESLint 9 flat config requires explicit globals. Without them, Node.js builtins (fetch, crypto, setTimeout, AbortController, etc.) trigger no-undef errors, blocking the CI pipeline. Co-Authored-By: Claude Opus 4.6 --- eslint.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index fcb13ca..28578d1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,4 +1,5 @@ import eslint from '@eslint/js'; +import globals from 'globals'; import tseslint from '@typescript-eslint/eslint-plugin'; import tsparser from '@typescript-eslint/parser'; @@ -12,6 +13,9 @@ export default [ ecmaVersion: 2022, sourceType: 'module', }, + globals: { + ...globals.nodeBuiltin, + }, }, plugins: { '@typescript-eslint': tseslint,