Closed Snugug closed 5 years ago
This issue duplicates #457 that is closed because this problem is not a parsing but a rule issue.
To make it work i suggest using https://github.com/bradzacher/eslint-plugin-typescript/blob/master/docs/rules/no-unused-vars.md
Using the plugin probably makes the most sense here, ESLint will not be able to understand many TS specific concerns natively.
Please feel free to open any other issues on the new project https://github.com/typescript-eslint/typescript-eslint
Thanks!
What version of TypeScript are you using? 2.9.1
What version of
typescript-eslint-parser
are you using? 16.0.0What code were you trying to parse?
What did you expect to happen? With rule
no-unused-vars
, I expectApplication
to come back as being used as it's being imported and used as a typeWhat happened?
1:10 error 'Application' is defined but never used no-unused-vars