Fix lint error, add lint script.

This commit is contained in:
Dan Albert 2022-03-06 21:59:44 -08:00
parent ccce801dc4
commit 6f21067ddb
2 changed files with 1 additions and 4 deletions

View File

@ -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",

View File

@ -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";