vscode in vue project using the plug-in checks the code eslint

Foreword

This article was created by the project vue-cli3

vscode version 1.36.1

eslint1.9.0

The Internet to find a lot of articles, I do not know what the reason, no one can be directly used

Toss for a long time, simply press eslint plug-in instructions, even it

step

First installed in vscode in eslint

 

Plug into the details page, follow the instructions, the first global installation package eslint

 

Then you need to createeslintrc配置文件

In VSCODE inside, CTRL + SHIT + P, copy and paste Create ESLint configuration line of text, then the transport

 

At the bottom of the pop-up window of the terminal

Ask a few questions to set, select the figure, I have asked it to find a look at what
https://blog.csdn.net/Gabriel_wei/article/details/90269165

 

Guess you like

Origin www.cnblogs.com/vbyzc/p/11264491.html