5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vue-eslint-parserには@typescript-eslint v2との互換性がない

Last updated at Posted at 2019-09-05

@typescript-eslintは先日v2にメジャーアップデートしました。

それに伴って(?)、VueファイルをLintしようとすると以下のようにエラーが表示されるようになりました。

/myproject/src/components/partials/Base/BaseRadio.vue
  23:9  error  Parsing error: '>' expected

どうもこれ、@typescript-eslintのv2とvue-eslint-parserに互換性がないことが原因のようです。

Incompatibility with typescript-eslint@2
https://github.com/vuejs/eslint-plugin-vue/issues/944

ということで、eslint-plugin-vue側がv2に対応するまではバージョンをあげないほうが無難かもしれません。

対応したらそのときは、この記事を更新します。

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?