From 66406429a8238ba4a27741288dfde4248e82ccb7 Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Sat, 30 Nov 2024 17:36:40 -0800 Subject: [PATCH] Removed no-longer needed dom.js override --- eslint.config.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 73b6022ec..5f47c1b39 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -14,7 +14,7 @@ export default [ ecmaVersion: 'latest', sourceType: 'script', globals: { ...globals.browser, ...globals.greasemonkey, ...globals.node, chatgpt: 'readonly', chrome: 'readonly', - config: 'writable', CryptoJS: 'readonly', dom: 'readonly', settings: 'writable' + config: 'writable', dom: 'readonly', settings: 'writable' } }, plugins: { regexp, 'js-styles': stylisticJS }, @@ -37,7 +37,6 @@ export default [ } }, { files: ['**/chatgpt.js'], languageOptions: { globals: { chatgpt: 'off' }}}, - { files: ['**/dom.js'], languageOptions: { globals: { dom: 'off' }}}, { files: ['**/*.mjs'], languageOptions: { sourceType: 'module' }}, { files: ['**/*.json'], ignores: ['**/package-lock.json'], language: 'json/json', ...json.configs.recommended }, {