To avoid ugly evals of jslint in any commonjs env. like nodejs, would be nice to export jslint.
I think there should be typeof predefined[v] !== 'boolean' instead of…
… "predefined[v] !== 'boolean'" because predefined is a has with boolean values :)
Actually there is no need to check the type, better way is just "predefined[v] !== true"
export jslint for commonjs env
No thanks. That doesn't need to be in the common source file. It could be trivially appended.
Then you don't have to test for predefined[v] !== true, but could just use
predefined[v] !== true
yes, but it is not explicitly and conflicts with jslint ideas.