feat(ts): ban const enum (#201)

This commit is contained in:
曾明健
2023-06-28 20:05:23 +08:00
committed by GitHub
parent 504de8392a
commit 2bf0c8d727
4 changed files with 61 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import preferInlineTypeImport from './rules/prefer-inline-type-import'
import topLevelFunction from './rules/top-level-function'
import noTsExportEqual from './rules/no-ts-export-equal'
import noCjsExports from './rules/no-cjs-exports'
import noConstEnum from './rules/no-const-enum'
export default {
rules: {
@@ -15,5 +16,6 @@ export default {
'top-level-function': topLevelFunction,
'no-cjs-exports': noCjsExports,
'no-ts-export-equal': noTsExportEqual,
'no-const-enum': noConstEnum,
},
}