From 22cb676d149475a6fc5dadfc1e634864d13d063e Mon Sep 17 00:00:00 2001 From: "lihao.ylh" Date: Wed, 20 Apr 2022 14:38:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=85=B3=E9=97=AD=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=BF=A1=E6=81=AF=E7=9A=84eslint=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=8C=E4=BB=A5=E6=8F=90=E5=8D=87lint=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index bf1394e65..6a1c241fd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,9 @@ module.exports = { extends: 'eslint-config-ali/typescript/react', + parserOptions: { + project: [], // for lint performance + createDefaultProgram: false, // for lint performance + }, rules: { 'react/no-multi-comp': 0, 'no-unused-expressions': 0, @@ -31,5 +35,7 @@ module.exports = { '@typescript-eslint/indent': 0, 'import/no-cycle': 0, '@typescript-eslint/no-shadow': 0, - } + '@typescript-eslint/dot-notation': 0, // for lint performance + '@typescript-eslint/restrict-plus-operands': 0, // for lint performance + }, };