diff --git a/eslint.config.js b/eslint.config.js index 944e82b..dc39e85 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -19,5 +19,48 @@ export default [ rules: { 'vue/multi-word-component-names': 'off', }, + }, + { + languageOptions: { + globals: { + // Browser globals + window: 'readonly', + document: 'readonly', + navigator: 'readonly', + localStorage: 'readonly', + sessionStorage: 'readonly', + console: 'readonly', + alert: 'readonly', + confirm: 'readonly', + prompt: 'readonly', + setTimeout: 'readonly', + setInterval: 'readonly', + fetch: 'readonly', + XMLHttpRequest: 'readonly', + URL: 'readonly', + URLSearchParams: 'readonly', + atob: 'readonly', + btoa: 'readonly', + // Vite globals + import: 'readonly', + process: 'readonly', + // Service Worker globals + self: 'readonly', + caches: 'readonly', + // Web API + Notification: 'readonly', + ServiceWorker: 'readonly', + PushManager: 'readonly', + PushSubscription: 'readonly', + // Web Storage API + Storage: 'readonly', + StorageEvent: 'readonly', + // Web Socket + WebSocket: 'readonly', + // Web Workers + Worker: 'readonly', + SharedWorker: 'readonly', + }, + }, } ]