From a385ffabff61d902db618450d51651afcb00c00a Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 14 Oct 2025 04:54:48 +0800 Subject: [PATCH] chore: improve ESLint config --- eslint.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index b8073b6d6..b6d8f1924 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -21,13 +21,13 @@ export default defineConfig([ files: ['_javascript/**/*.js'], languageOptions: { globals: { + ...globals.serviceworker, ClipboardJS: 'readonly', GLightbox: 'readonly', Theme: 'readonly', dayjs: 'readonly', mermaid: 'readonly', tocbot: 'readonly', - importScripts: 'readonly', swconf: 'readonly' } }