[Follow-up] Automatically fix ESLint code validation errors in Visual Studio Code

preview_player
Показать описание
This is a follow-up to my previous video about the Visual Studio Code, ESLint plugin. It turns out that there are more options available, besides fixing individual problems. The plugin is also able to fix all the problems of a specific kind in a file, as well as fix all fixable problems. Hope this is useful for you. It drastically improved my refactoring and standardization process.

#eslint #vscode #visualstudio #visualstudiocode #webdev #webdevelopment #styleguide #codingstandards #javascript #nodejs #es6 #oprearocks
Рекомендации по теме
Комментарии
Автор

Not really what I expected but THANK YOU!!

tolumideshopein
Автор

If anyone search from goole like me, all you need is add this in settings.json => "eslint.autoFixOnSave": true. This will AUTO fix errors on save.

cyper
Автор

Trying to figure out how to do this in Visual Studio Pro.

Also, I wish that MS had named Visual Studio Code something different, so that when I'm searching for problems with Visual Studio I don't find all these responses about VS Code.

mattlokk
Автор

I thought you'll teach us how to automate it, that every time it will auto-fix all the problems.

taruntanmay
welcome to shbcf.ru