Reputation: 34549
I've just decided to run my JavaScript through JSHint (using the WebEssentials extension within Visual Studio). I'm getting a whole bunch of warnings about formatting, which fight against the Visual Studio auto-formatting (which I prefer). I'd like to turn these warnings off but I can't figure out how.
I can't see anything in the JSHint Documentation that relates to whitespace/function formatting.
I also don't get any warning numbers out so I don't think I can exclude by warning:
Does anyone know how I can go about excluded these?
Upvotes: 1
Views: 223
Reputation: 47222
Your problems stems from JavaScript Code Style
You can edit those settings from the Web Essentials menu, then select the Edit Global JSCS settings option. (I hope. I've never even opened Visual Studio in my life).
You can read up on the rules here
Upvotes: 1