From 7dc9469a8b4ba34eb4728bb4c5af556ceaacad46 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 27 Jun 2024 12:12:30 -0400 Subject: [PATCH] CI: Disallow document global --- .eslintrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.eslintrc b/.eslintrc index 300f576547..552cfe5159 100644 --- a/.eslintrc +++ b/.eslintrc @@ -37,6 +37,11 @@ } ], + "no-restricted-globals": ["error", { + "name": "document", + "message": "Use doc instead." + }], + "zotero-translator/not-executable": "error", "zotero-translator/header-valid-json": "error", "zotero-translator/header-translator-id": "error",