From d6d90925d094bc89acf381335d56599abfa3aa41 Mon Sep 17 00:00:00 2001 From: MrXwq <43991889+MrXwq@users.noreply.github.com> Date: Mon, 4 Sep 2023 07:57:38 +0800 Subject: [PATCH] fix(eslint): using ignorePatterns to replace .eslintignore (#12237) Co-authored-by: xuwenqiang --- packages/vant/.eslintignore | 4 ---- packages/vant/.eslintrc | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 packages/vant/.eslintignore diff --git a/packages/vant/.eslintignore b/packages/vant/.eslintignore deleted file mode 100644 index c05831264..000000000 --- a/packages/vant/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -es -lib -dist -node_modules diff --git a/packages/vant/.eslintrc b/packages/vant/.eslintrc index fad617631..8bc62e8d2 100644 --- a/packages/vant/.eslintrc +++ b/packages/vant/.eslintrc @@ -7,6 +7,11 @@ "globals": { "vi": true }, + "ignorePatterns": [ + "es", + "lib", + "node_modules" + ], "overrides": [ { "files": ["src/**/*"],