Skip to content

Commit a385ffa

Browse files
committed
chore: improve ESLint config
1 parent f51641b commit a385ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export default defineConfig([
2121
files: ['_javascript/**/*.js'],
2222
languageOptions: {
2323
globals: {
24+
...globals.serviceworker,
2425
ClipboardJS: 'readonly',
2526
GLightbox: 'readonly',
2627
Theme: 'readonly',
2728
dayjs: 'readonly',
2829
mermaid: 'readonly',
2930
tocbot: 'readonly',
30-
importScripts: 'readonly',
3131
swconf: 'readonly'
3232
}
3333
}

0 commit comments

Comments
 (0)