0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

eslintのエラー 「TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')」

Last updated at Posted at 2024-11-16

更新

こちら修正された模様です。
IMG_0941.png

起きたこと

Laravel / Vue3 / TypeScript / Eslint の環境構築で
ESlintが動かなかったのでVSCodeの拡張機能のeslintの出力みると

TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')

が出ていた。

原因・解決方法

ESLint v9.15.0 でエラーが起きる模様

ISSUEが上がっており ESLint自体のバージョンを v9.14.0 に下げれば起きなくなった

npm install --save-dev eslint@9.14.0
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?