From 80e8dfd45921b8f9c0c95b13db94924e8fd0323f Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 25 Sep 2024 14:12:13 +0200 Subject: [PATCH] Disable `no-implicit-globals` --- packages/base/rules-snapshot.json | 2 +- packages/base/src/index.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/base/rules-snapshot.json b/packages/base/rules-snapshot.json index 0b845444..5a71cbbb 100644 --- a/packages/base/rules-snapshot.json +++ b/packages/base/rules-snapshot.json @@ -255,7 +255,7 @@ "no-func-assign": "error", "no-global-assign": "error", "no-implicit-coercion": "error", - "no-implicit-globals": "error", + "no-implicit-globals": "off", "no-implied-eval": "error", "no-import-assign": "error", "no-inner-declarations": ["error", "functions"], diff --git a/packages/base/src/index.mjs b/packages/base/src/index.mjs index 2ad6322e..98480cf9 100644 --- a/packages/base/src/index.mjs +++ b/packages/base/src/index.mjs @@ -138,7 +138,7 @@ const rules = [ 'no-extra-bind': 'error', 'no-extra-label': 'error', 'no-implicit-coercion': 'error', - 'no-implicit-globals': 'error', + 'no-implicit-globals': 'off', 'no-implied-eval': 'error', 'no-inner-declarations': ['error', 'functions'], 'no-invalid-this': 'error',