import svelteConfig from '@sveltejs/eslint-config'; /** @type {import('eslint').Linter.Config[]} */ export default [ { ignores: ['build/', '.svelte-kit/', 'static/', 'node_modules/'] }, ...svelteConfig, { rules: { // This is a static, client-only portfolio whose links point at external // URLs (projects, resume, mailto). The resolve() rule targets SvelteKit // internal navigation, so it only produces false positives here. 'svelte/no-navigation-without-resolve': 'off' } }, { // Service worker runs in a ServiceWorkerGlobalScope, not the browser/node defaults. files: ['static/service-worker.js'], languageOptions: { globals: { self: 'readonly', caches: 'readonly', fetch: 'readonly' } } } ];