Skip to content

Parsing is incompatible with typescript-eslint v2 #55

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy