Quick JSHint/ESLint VSCode/Sublime note

I recently switched from using SublimeText3 to VSCode, mostly based on the recommendation of this video. Yep, I’m easily persuaded.

I like it a lot. There are some differences I don’t particularly like, but in general, I find it more intuitive. I feel like I don’t have to spend as much time figuring out how the program works, so I can spend more time figuring out how to make my own code work.

My biggest complaint is that it came with ESLint pre-installed, and I couldn’t for the life of me make it work. I still don’t know what I did wrong. But no matter. It’s not the only ball game.

So I installed JSHint, which I had been using in Sublime. The problem is that it shows errors differently. In Sublime, it puts an icon in the margin to tell you that there’s an error, while in VSCode, it puts a squiggly underline under the error, which is often a single character. It’s almost impossible to see that it’s indicating an error.

I’m sure there’s an option to make it look less bad, but I’m disappointed that it doesn’t look good by default.