Skip to content
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

Parser conflict when using typescript with .vue files. #970

Closed
evmcl opened this issue Oct 7, 2019 · 2 comments
Closed

Parser conflict when using typescript with .vue files. #970

evmcl opened this issue Oct 7, 2019 · 2 comments

Comments

@evmcl
Copy link

evmcl commented Oct 7, 2019

Tell us about your environment

  • ESLint version: 5.16.0
  • eslint-plugin-vue version: 5.2.3
  • @typescript-eslint/eslint-plugin: 2.3.2
  • typescript: 3.6.3
  • Node version: 10.16.3

Please show your full configuration:
https://github.com/evmcl/eslint-plugin-vue-issue
contains a minimum example to cause the error.

What did you do?

  • Clone above repository.
  • npm install
  • npm run lint

What did you expect to happen?
Run without errors.

What actually happened?
Gets the following error:

src/file_b.vue
  3:23  error  Parsing error: '>' expected  vue/no-parsing-error

Additional info
If you remove the src/file_a.vue file, then you no longer get the parsing error on src/file_b.vue.

@IlCallo
Copy link

IlCallo commented Oct 7, 2019

See related #944 and typescript-eslint/typescript-eslint#883

@evmcl
Copy link
Author

evmcl commented Oct 22, 2019

Release 2.5.0 of @typescript-eslint/eslint-plugin and @typescript-eslint/parser has fixed this issue.

@evmcl evmcl closed this as completed Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants