webstorm报错:ESLint: TypeError: this.libOptions.parse is not a function
解决办法:
把 {**/*,*}.{js,ts,jsx,tsx,html,vue}
换成 {**/*,*}.(js,ts,jsx,tsx,html,vue)
原文:
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.
-
Settings (or "Alt + Shift + S")
-
Search "eslint"
-
Choose "Automatic ESLint configuration"
-
Then replace the pattern below with the exist one:
"**/*.(js|ts|jsx|tsx|html|vue)"