Skip to content

Parsing is incompatible with typescript-eslint v2 #55

Closed
@IlCallo

Description

@IlCallo

As noted here, there is some kind of problems with applying Vue ESLint rules on SFC together with typescript-eslint v2.
Can you take a look at this and provide some insight on how the problem can be solved?

In my case, I get a Parsing error: '>' expected in every single Vue SFC, plus multiple template related errors.
I'm using Quasar, with app-extension-typescript, just to give some context.

image

This seems related to the fact that the code actually read and linted is a transformation of the original one.
For example, v-on are listeners on click events (@click.left="$emit('something')") and the parser is probably complaining about the click word being used into JS.

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