feat: rule

This commit is contained in:
OBKoro1 2020-12-10 23:46:10 +08:00
parent 48913a7d35
commit dc05aacd83

View File

@ -6,6 +6,7 @@ module.exports = {
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'], plugins: ['@typescript-eslint'],
rules: { rules: {
'no-console': 'off',
'no-restricted-syntax': 'off', 'no-restricted-syntax': 'off',
'no-continue': 'off', 'no-continue': 'off',
// 禁止使用 var // 禁止使用 var