eslint与prettier冲突问题
在package.json中保存运行无报错,但在其他vue页面运行会报错
ERROR Failed to compile with 1 error 15:45:25
[eslint] prettier.resolveConfig.sync is not a function
Occurred while linting C:\dp\vue-cs\src\App.vue:1
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
ERROR in [eslint] prettier.resolveConfig.sync is not a function
Occurred while linting C:\dp\vue-cs\src\App.vue:1
webpack compiled with 1 error
这是什么原因?