eslint-plugin

@masknet/type/no-const-enum

Disallow use constants enumerate

Rule Details

:x: Incorrect

const enum Foo {
  Bar,
}

:white_check_mark: Correct

enum Foo {
  Bar,
}

Attributes