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

@@ -159,6 +159,7 @@ module.exports = {
'antfu/generic-spacing': 'error',
'antfu/no-cjs-exports': 'error',
'antfu/no-ts-export-equal': 'error',
'antfu/no-const-enum': 'error',
// off
'@typescript-eslint/consistent-indexed-object-style': 'off',