From 9f413792b3f2fe4bbd0180be4d0dc2c44fee73b5 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 5 Apr 2021 03:36:18 -0500 Subject: [PATCH] fix: fix is required in ILintOptions --- lib/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/worker.ts b/lib/worker.ts index af1ca8f0..3af09685 100644 --- a/lib/worker.ts +++ b/lib/worker.ts @@ -269,7 +269,7 @@ export default async function TsLintWorker(initialConfig: ConfigSchema) { const { emitKey, jobType, content, filePath, } = message.message; - const options = jobType === 'fix' ? { fix: true } : {}; + const options = jobType === 'fix' ? { fix: true } : { fix: false }; const results = await lint(content, filePath, options); emit(emitKey, results);