Skip to content

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

Closed
@evmcl

Description

@evmcl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions