简体   繁体   English

如何将 eslint 添加到现有的 vue-cli 项目中?

[英]How to add eslint to an existing vue-cli project?

I created vue cli project without eslint option.我创建了没有eslint选项的vue cli项目。
But now I want to try to test it.但现在我想尝试测试它。 How to add ESLint in existing vue cli project?如何在现有的vue cli项目中添加ESLint

Just execute npm i --save @vue/cli-plugin-eslint只需执行npm i --save @vue/cli-plugin-eslint

Docs can be found here for more details.可以在此处找到文档以获取更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM