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.
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