From 247824914d205a2c3f6798f399297bcdda53a6f5 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 17 Jun 2021 21:42:20 -0500 Subject: [PATCH] fix: add createDefaultProgram to typescript config --- src/typescript.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/typescript.js b/src/typescript.js index 7a06cf6..54c94e2 100644 --- a/src/typescript.js +++ b/src/typescript.js @@ -40,6 +40,7 @@ exports.tsConfig = { parser: "@typescript-eslint/parser", parserOptions: { project: ["./**/tsconfig.json", "!./**/node_modules/**/tsconfig.json"], + createDefaultProgram: true, // otherwise Eslint will error if a ts file is not covered by one of the tsconfig.json files }, plugins: ["@typescript-eslint", "node", "import", "only-warn"], extends: [