From 1a2862e4ee33da915cdb33e427b3df08fb80db5a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 13 Jan 2023 22:37:49 -0500 Subject: [PATCH] Clean up unused import --- src/esploader.ts | 2 +- tsconfig.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/esploader.ts b/src/esploader.ts index 93af443..07cee70 100644 --- a/src/esploader.ts +++ b/src/esploader.ts @@ -1,5 +1,5 @@ import { ESPError } from "./error"; -import { inflate, deflate } from "pako"; +import { deflate } from "pako"; import { Transport } from "./webserial"; import { ROM } from "./targets/rom"; diff --git a/tsconfig.json b/tsconfig.json index 2573f9e..730b555 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,9 +6,13 @@ "allowSyntheticDefaultImports": true, "outDir": "./lib", "moduleResolution": "node", + "noUnusedLocals": true, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "forceConsistentCasingInFileNames": true, "lib": ["ES2020", "DOM"], "importHelpers": true, "resolveJsonModule": true }, "include": ["src/**/*"] -} \ No newline at end of file +}