Fix CI on main: RouteMap typecheck + metro.config lint

- RouteMap.tsx referenced undefined MapLibreRN namespace, causing
  typecheck to fail on main and in every downstream PR
- metro.config.js is CommonJS, exclude from ESLint flat config

Changes that were pushed directly to main earlier bypassed CI and
broke both typecheck and lint.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-17 22:26:38 +02:00
parent 2a94af5655
commit 258e1bb5e5
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ import tseslint from "typescript-eslint";
import prettier from "eslint-config-prettier";
export default tseslint.config(
{ ignores: ["**/build/", "**/dist/", "**/.react-router/", "**/.expo/", "**/node_modules/"] },
{ ignores: ["**/build/", "**/dist/", "**/.react-router/", "**/.expo/", "**/node_modules/", "**/metro.config.js"] },
js.configs.recommended,
...tseslint.configs.recommended,
{