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

@ -65,7 +65,7 @@ function RouteMapInner({
onWaypointPress,
}: RouteMapProps) {
const ML = MapLibreGL!;
const cameraRef = useRef<MapLibreRN.CameraRef>(null);
const cameraRef = useRef<MapLibreGL.CameraRef>(null);
const handleLongPress = useCallback(
// eslint-disable-next-line @typescript-eslint/no-explicit-any