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

eslint で Definition for rule was not found エラーが出る

Last updated at Posted at 2019-07-31

eslint 走らせると、すべての // @flow の箇所で

  1:1  error  Definition for rule 'no-async-promise-executor' was not found      no-async-promise-executor
  1:1  error  Definition for rule 'no-misleading-character-class' was not found  no-misleading-character-class
  1:1  error  Definition for rule 'no-useless-catch' was not found               no-useless-catch

とエラーが出た。

なんでかな〜とおもって調べたけどわからなかった。
結局、原因は、そもそも yarn add -D eslint をしてなくて eslint が無く、ちゃんと入れたら治りました。

2
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
2
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?