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

发布时间 2023-09-13 09:29:56作者: 三石兄2010

遇到错误: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