False positive eslint@typescript-eslint/no-unused-vars
if local type is used in template declaration only
#189
Labels
eslint@typescript-eslint/no-unused-vars
if local type is used in template declaration only
#189
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.39.0
What version of
eslint-plugin-vue
andvue-eslint-parser
are you using?What did you do?
Configuration
What did you expect to happen?
Foo
andbar
are used in template which should be a used var. No errors will be present.What actually happened?
Link to Minimal Reproducible Example
https://github.com/Tanimodori/vue-eslint-unused-vars-repro/tree/local-define
The repro is in the
local-define
branch.git clone https://github.com/Tanimodori/vue-eslint-unused-vars-repro cd vue-eslint-unused-vars-repro git checkout local-define npm i npm run lint
Additional comments
This issue is similar to #174. The only difference is that this issue is occurred on local-defined types rather than imported types.
The text was updated successfully, but these errors were encountered: