A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/typescript-eslint/typescript-eslint/issues/883 below:

False positives when using with Vue SFC · Issue #883 · typescript-eslint/typescript-eslint · GitHub

What code were you trying to parse?
I'm using Quasar (Vue based, using SFCs) and there seems to be some kind of incompatibility between typescript-eslint/parser and vue-eslint-parser.

Related
vuejs/eslint-plugin-vue#944
vuejs/vue-eslint-parser#55

What did you expect to happen?
Linting working normally even in .vue files, given that it kind-of worked (with some limitations) pre v2.

What actually happened?
All .vue files show a low level Parsing error: '>' expected error.
Most rules somewhat related to JS/TS into templates linting will also fail.
In my case every v-if, v-on and v-bind usage generate an error corresponding to the usage of that directive.

Es.

Versions

package version @typescript-eslint/parser 2.0.0 vue-eslint-parser 6.0.4 eslint-plugin-vue 5.2.3 TypeScript 3.5.3 ESLint 6.2.0 node 10.15.3 npm 6.4.1 yarn 1.16.0

AluisioASG, alexeden, renataogarcia, GordonBlahut, Baune8D and 2 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4