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 +}