Skip to content

Commit

Permalink
fix: missing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Dec 6, 2022
1 parent 95bd259 commit edede7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ module.exports = {
'@typescript-eslint/no-unnecessary-condition': 'error',
// 禁止无用的命名空间调用
'@typescript-eslint/no-unnecessary-qualifier': 'error',
// 禁止接口与类的类型合并
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
// 自动去除多余的空 export
'@typescript-eslint/no-useless-empty-export': 'warn',
// [覆盖 recommended] 允许 require 引入
Expand Down

0 comments on commit edede7b

Please sign in to comment.