Using Standard with VSCode
But, if you follow the instructions in the video (or on vscode-standardjs’s readme file), you’ll come to notice there’s one small detail that needs to be ironed out.
Try writing a
function the old way, and save it repeatedly. VS code will toggle between having and not having a space before the left-parenthesis of the function.
You get the same problem when you write methods with the ES6 method shorthands:
There’s a quick way to fix this issue.
What you need to do is set
So the minimum configuration you need to get Standard and VS Code to work together is:
Thanks for reading. Did this article help you out? If it did, I hope you consider sharing it. You might help someone else out. Thanks so much!