From d813edd91b2fc0a370c8270d24f69f05c79c20b6 Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Mon, 23 Nov 2020 04:00:42 +0900 Subject: [PATCH] fix(template-typescript): enable "plugin:import/typescript" of eslint It's required config in typesctipt project. https://github.com/benmosher/eslint-plugin-import#typescript --- packages/template/typescript-webpack/tmpl/.eslintrc.json | 3 ++- packages/template/typescript/tmpl/.eslintrc.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/template/typescript-webpack/tmpl/.eslintrc.json b/packages/template/typescript-webpack/tmpl/.eslintrc.json index 010300ae8f..970228353f 100644 --- a/packages/template/typescript-webpack/tmpl/.eslintrc.json +++ b/packages/template/typescript-webpack/tmpl/.eslintrc.json @@ -9,7 +9,8 @@ "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:import/errors", - "plugin:import/warnings" + "plugin:import/warnings", + "plugin:import/typescript" ], "parser": "@typescript-eslint/parser" } diff --git a/packages/template/typescript/tmpl/.eslintrc.json b/packages/template/typescript/tmpl/.eslintrc.json index 010300ae8f..970228353f 100644 --- a/packages/template/typescript/tmpl/.eslintrc.json +++ b/packages/template/typescript/tmpl/.eslintrc.json @@ -9,7 +9,8 @@ "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:import/errors", - "plugin:import/warnings" + "plugin:import/warnings", + "plugin:import/typescript" ], "parser": "@typescript-eslint/parser" }