There are (good) reasons for JSHint/Lint complaining about syntactically valid code. I agree with most of those reasons and have little trouble adapting to their styles. I have my Vim setup so that JSHint complains as soon as I save a file so I can “correct” my code asap and when I’m working on it, not “way later” in my build process (using the Vim syntastic plugin).

All that being said: linters are no shield against crappy code, you can write utter crap that is JSHint/Lint won’t have an opinion on. So keep using your head :-)