Skip to content

Commit e08084e

Browse files
bowei-jbwLeoYuan
authored andcommitted
chore: 关闭依赖类型信息的eslint规则,以提升lint速度
1 parent a47d4ee commit e08084e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module.exports = {
22
extends: 'eslint-config-ali/typescript/react',
3+
parserOptions: {
4+
project: [], // for lint performance
5+
createDefaultProgram: false, // for lint performance
6+
},
37
rules: {
48
'react/no-multi-comp': 0,
59
'no-unused-expressions': 0,
@@ -34,5 +38,7 @@ module.exports = {
3438
"@typescript-eslint/method-signature-style": 0,
3539
"@typescript-eslint/consistent-type-assertions": 0,
3640
"@typescript-eslint/no-useless-constructor": 0,
41+
'@typescript-eslint/dot-notation': 0, // for lint performance
42+
'@typescript-eslint/restrict-plus-operands': 0, // for lint performance
3743
}
3844
};

0 commit comments

Comments
 (0)