feat(ts): ban cjs exports in ts file (#167)

This commit is contained in:
曾明健
2023-05-19 16:29:54 +08:00
committed by GitHub
parent 96dd9a1797
commit 3ca0e7ea8b
6 changed files with 136 additions and 0 deletions

View File

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