Parsing is incompatible with typescript-eslint v2
See original GitHub issueAs 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.
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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5
Top Results From Across the Web
Parsing is incompatible with typescript-eslint v2 #55 - GitHub
In my case, I get a Parsing error: '>' expected in every single Vue SFC, plus multiple template related errors. I'm using Quasar,...
Read more >@typescript-eslint/parser - npm
An ESLint parser which leverages TypeScript ESTree to allow for ESLint to lint TypeScript source code. NPM Version NPM Downloads. See https://typescript- ...
Read more >ESLint conflicts with eslint-plugin-import and typescript-eslint
UPDATED: It seems it was asked in this issue on the eslint-plugin-node repository. It works for no-unsupported-features and no-missing-import , ...
Read more >Linting in TypeScript using ESLint and Prettier - LogRocket Blog
Integrate Prettier with ESLint to automate type-checking in your TypeScript code and ensure that the code has no bugs.
Read more >Packages - TypeScript ESLint
Those rules rely on ESLint using the @typescript-eslint/parser package described below, ... incompatible AST format to the one that ESLint requires to work....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am stuck on this as well, have tried many things but can’t seem to figure this one out.
I confirm issues are finally gone 😃