Disallow the use of const enums (no-const-enum)
November 6, 2021 ยท View on GitHub
This rule disallows the use of TypeScript const enums.
Rule Details
Examples of incorrect code for this rule:
const enum Foo {
Bar = "Bar",
Baz = "Baz",
}
Examples of correct code for this rule:
type Foo = "Bar" | "Baz";