From cc1ab2e4e75d85f8362bfdb86b2d9453721ffca9 Mon Sep 17 00:00:00 2001 From: Tuukka Hastrup Date: Mon, 15 Jun 2020 17:32:13 +0300 Subject: [PATCH] Work around a bug in import/no-extraneous-dependencies https://github.com/benmosher/eslint-plugin-import/issues/1618 --- src/map-style.ts | 2 +- src/planner.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/map-style.ts b/src/map-style.ts index 51a3ed98..66033da3 100644 --- a/src/map-style.ts +++ b/src/map-style.ts @@ -1,4 +1,4 @@ -import type { LayerProps } from "react-map-gl"; +import type { LayerProps } from "react-map-gl"; // eslint-disable-line import/no-extraneous-dependencies import type { Expression } from "mapbox-gl"; const anglesToAnchors = (): Array => { diff --git a/src/planner.ts b/src/planner.ts index 404770e4..58b8de5e 100644 --- a/src/planner.ts +++ b/src/planner.ts @@ -1,10 +1,9 @@ -// eslint-disable-next-line import/no-extraneous-dependencies -import { +import type { Feature, FeatureCollection, Geometry, GeoJsonProperties, -} from "geojson"; +} from "geojson"; // eslint-disable-line import/no-extraneous-dependencies // "./planner-config" (and PlannerJS) is imported dynamically by calculatePlan