From 154a7217b4b80ccfa05fd454b08f2a8aa4e1bf2e Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Thu, 25 Jun 2026 17:43:15 +0100 Subject: [PATCH] fix: ignore third-party map component from linting The mapcn-svelte component at src/lib/components/ui/map/ is a third-party library, not our code. Add to eslint ignores so we don't need to maintain eslint-disable comments in imported code. --- frontend/eslint.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 4664acd..2591375 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -12,6 +12,9 @@ const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); export default defineConfig( includeIgnoreFile(gitignorePath), + { + ignores: ['src/lib/components/ui/map/'] + }, js.configs.recommended, ...ts.configs.recommended, ...svelte.configs.recommended,