DEV Community

Mark Lopez
Mark Lopez

Posted on

Eslint Error on enum.

Annoyingly, Typescript tells me an enum is unused.

He's right, but no one cares.

Solution was to:
https://github.com/typescript-eslint/typescript-eslint/issues/2621

rules: {
  "no-unused-vars": "off",
  "@typescript-eslint/no-unused-vars": "error"
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)