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:
parent
f51641b541
commit
a385ffabff
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user