-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
no-unused-vars triggers an error on declare enum
#396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you try again with |
Thanks, it works with I was confused by ROADMAP.md which references |
The roadmap shouldn't recommend the base no-unused-vars rule up front in the table as it doesn't work with typescript features. Fixes #396
What code were you trying to parse?
What did you expect to happen?
It should lint the code & not crash.
What actually happened?
With the following configuration:
trying to lint the file with source provided above crashes with an error:
Versions
@typescript-eslint/eslint-plugin
1.5.0
@typescript-eslint/parser
1.5.0
TypeScript
3.3.4000
ESLint
5.15.3
node
v8.15.1
npm
yarn
1.15.2
The text was updated successfully, but these errors were encountered: