1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-10-20 17:53:45 +00:00

chore: improve ESLint config

This commit is contained in:
Cotes Chung 2025-10-14 04:54:48 +08:00
parent f51641b541
commit a385ffabff
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808

View File

@ -21,13 +21,13 @@ export default defineConfig([
files: ['_javascript/**/*.js'], files: ['_javascript/**/*.js'],
languageOptions: { languageOptions: {
globals: { globals: {
...globals.serviceworker,
ClipboardJS: 'readonly', ClipboardJS: 'readonly',
GLightbox: 'readonly', GLightbox: 'readonly',
Theme: 'readonly', Theme: 'readonly',
dayjs: 'readonly', dayjs: 'readonly',
mermaid: 'readonly', mermaid: 'readonly',
tocbot: 'readonly', tocbot: 'readonly',
importScripts: 'readonly',
swconf: 'readonly' swconf: 'readonly'
} }
} }