From ef9e0282162f2d96da42ff32b0ff1e61f5d46074 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Thu, 2 Dec 2021 11:17:26 +0900 Subject: [PATCH] fix: resolving path to module --- .eslintrc.json | 5 +++++ package.json | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 5b06a18e8c..6a3bae22af 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,5 +14,10 @@ "plugins": ["@typescript-eslint"], "rules": { "@typescript-eslint/camelcase": "off" + }, + "settings": { + "import/resolver": { + "typescript": {} + } } } diff --git a/package.json b/package.json index fed2e44fd0..bc8835496f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,9 @@ "@typescript-eslint/parser": "5.5.0", "@vercel/ncc": "0.32.0", "eslint": "8.3.0", + "eslint-import-resolver-typescript": "2.5.0", "eslint-plugin-github": "4.3.5", + "eslint-plugin-import": "2.25.3", "eslint-plugin-jest": "25.3.0", "jest": "27.4.3", "jest-circus": "27.4.2",