jshint/jshint — Issue #407: Spaces around operators
Author: Kronuz
Created: 2011-12-28 22:04:17+00:00
State: open

It'd be useful to have an option to be strict about having spaces around operators. This would encourage better written code and more normalized.

I'd say also add a space between if/for/while and parenthesis. i.e. 'if (' instead of 'if(' too.. but perhaps that's asking too much and depends a lot on the taste of the programmer.