webstorm报错:ESLint: TypeError: this.libOptions.parse is not a function

 

解决办法:

把 {**/*,*}.{js,ts,jsx,tsx,html,vue}

换成 {**/*,*}.(js,ts,jsx,tsx,html,vue)

 

原文:

https://stackoverflow.com/questions/73509984/eslint-typeerror-this-liboptions-parse-is-not-a-function

My friends, if you are using Webstorm or any Jetbrains product, you can use this pattern in your eslint settings and it will be fixed for EVER.

  1. Settings (or "Alt + Shift + S")

  2. Search "eslint"

  3. Choose "Automatic ESLint configuration"

  4. Then replace the pattern below with the exist one:

    "**/*.(js|ts|jsx|tsx|html|vue)"
posted @ 2024-01-24 21:11  走走停停走走  Views(168)  Comments(0Edit  收藏  举报