So it turns out that JSLint is really chatty and opinionated, and JSHint is almost as bad; I really only want to know if this JS is syntactically correct and I am not sure that I could care any less than this about whether the bracket or space characters are pleasing to the parser. I moaned on twitter (I know, shocking!) and got a few pointers – one really useful tip in particular:
— Glen Mailer (@glenathan) May 2, 2014
If you’re using this or other tools, I’m interested to hear about it so please share in the comments!