Lint on Save With VS Code Official Golang Extension

go extension vs code

Go has hard opinions about how you should style and format your code, and because of this, setting up your VS Code environment to enforce linting on save can be very efficient. The big upside of this is that you don’t need to spend hours setting up tools like ESLint, Prettier, JSLint, etc. That said, … Read more

How to Get Consistent Line Breaks in VS Code (LF vs CRLF)

broken piece of wood in snow

Have you ever had the problem where you submit a pull request and the diff is much bigger than it should be? Perhaps the code looks identical but GitHub is telling you that it’s all different? This is typically due to a difference in line endings, primarily the difference of LF vs CRLF. Unix systems … Read more

Simple Setup – Vue Linting in VS Code

eslint vscode

I’m a gopher by nature, so I expect consistent styling and linting in my codebases. More importantly, I don’t like to think about styling. I like to type haphazardly and then have my editor apply styles automatically on save (ctrl+s, cmd+s). If you are the same way, hopefully, this will help you in your next … Read more