From 6f21067ddb6f6b9978ab3a81238a81426f6d0b91 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sun, 6 Mar 2022 21:59:44 -0800 Subject: [PATCH] Fix lint error, add lint script. --- client/package.json | 1 + client/src/components/liberationmap/LiberationMap.tsx | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/package.json b/client/package.json index 4fa36a27..6fdc724c 100644 --- a/client/package.json +++ b/client/package.json @@ -32,6 +32,7 @@ "start": "react-scripts start", "build": "react-scripts build && generate-license-file --input package.json --output build/NOTICE", "regenerate-api": "rtk-query-codegen-openapi ./openapi-config.ts", + "lint" : "eslint src", "prepare": "eslint src && license-checker --onlyAllow \"MIT;Apache-2.0;CC0-1.0;BSD-3-Clause;ISC;Custom: https://github.com/tmcw/jsonlint;BSD-2-Clause;Hippocratic-2.1;BSD*;WTFPL\" --excludePrivatePackages --production", "test": "react-scripts test", "eject": "react-scripts eject", diff --git a/client/src/components/liberationmap/LiberationMap.tsx b/client/src/components/liberationmap/LiberationMap.tsx index 4918ab20..a6e067b1 100644 --- a/client/src/components/liberationmap/LiberationMap.tsx +++ b/client/src/components/liberationmap/LiberationMap.tsx @@ -9,10 +9,6 @@ import FrontLinesLayer from "../frontlineslayer"; import SupplyRoutesLayer from "../supplyrouteslayer"; import TgosLayer from "../tgoslayer/TgosLayer"; import { CoalitionThreatZones } from "../threatzones"; -import { - ThreatZonesLayer, - ThreatZoneFilter, -} from "../threatzones/ThreatZonesLayer"; import "./LiberationMap.css"; import { Map } from "leaflet"; import { useEffect, useRef } from "react";