From 7e00cbe8263296589372010e70faa904efc2fb51 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Sat, 8 Oct 2022 19:46:57 +0800 Subject: [PATCH] ignore import error in pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d6ba15a..9669712 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,6 @@ repos: types_or: [ts, tsx] types: [] files: ^admin-frontend/ - args: [--fix, -c, './admin-frontend/.eslintrc.json'] + args: [--fix, -c, './admin-frontend/.eslintrc.json', --rule, 'import/no-unresolved: off'] exclude: 'CHANGELOG.md'