chore: eslint规则禁用

This commit is contained in:
OBKoro1 2021-06-27 16:20:38 +08:00
parent 76a54718e9
commit 7b83ba1b6c
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ module.exports = {
'no-continue': 'off',
// 禁止使用 var
'no-var': 'error',
'max-len': 'off',
'no-await-in-loop': 'off',
// 优先使用 interface 而不是 type
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
},