From e08084e357f2f8ff94b3589a0aa677c4e09bf743 Mon Sep 17 00:00:00 2001 From: bowei-jbw Date: Tue, 19 Apr 2022 10:48:40 +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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index d43a7b389..5a8fe9e97 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, @@ -34,5 +38,7 @@ module.exports = { "@typescript-eslint/method-signature-style": 0, "@typescript-eslint/consistent-type-assertions": 0, "@typescript-eslint/no-useless-constructor": 0, + '@typescript-eslint/dot-notation': 0, // for lint performance + '@typescript-eslint/restrict-plus-operands': 0, // for lint performance } };