遇到错误:ESLint:TypeError:this.libOptions.parse is not a function

遇到错误:ESLint:TypeError:this.libOptions.parse is not a function

打开vue文件之后遇到如下错误:

ESLint: TypeError: this.libOptions.parse is not a function

该问题是由 ESLint 8.23 中引入的更改引起的

解决方法:

将 ESLint 降级到 8.22.x 或更早版本

npm install eslint@8.22.0 --save-exact

posted @ 2023-09-13 09:23  三石兄2010  阅读(614)  评论(0)    收藏  举报