From e0e5a4bc074759534b96744d06701d769fbec692 Mon Sep 17 00:00:00 2001 From: yuntian001 <479820787@qq.com> Date: Thu, 22 Sep 2022 08:28:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20eslint=E6=A3=80=E6=9F=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=95=B0=E5=AD=97=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index b7259e5e..241d417b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -65,7 +65,7 @@ module.exports = { leadingUnderscore: 'allow', filter: { // you can expand this regex to add more allowed names - regex: '^__v_.*$', + regex: '^((__v_.*)|[0-9]+)$', match: false, }, }, @@ -81,7 +81,7 @@ module.exports = { leadingUnderscore: 'allow', filter: { // you can expand this regex to add more allowed names - regex: '^__v_.*$', + regex: '^((__v_.*)|[0-9]+)$', match: false, }, },