Skip to content

Commit

Permalink
Work around a bug in import/no-extraneous-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tuukka committed Jun 15, 2020
1 parent ea78c0d commit cc1ab2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/map-style.ts
Original file line number Diff line number Diff line change
@@ -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<string | number> => {
Expand Down
5 changes: 2 additions & 3 deletions src/planner.ts
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit cc1ab2e

Please sign in to comment.