Suppress linting newcap

* When the "use strict"; directive is set, constructors called without
   `new` will set the execution context to undefined. JSHint tries to be
   clever and forces on newcap. Suppress this behaviour, especially
   because newcap has gone the way of the dodo.
redux
Arlo Breault 9 years ago
parent e0be643b7c
commit b079a056a2

@ -8,6 +8,7 @@
"latedef": "nofunc",
"laxbreak": true,
"loopfunc": true,
"newcap": false,
"noarg": true,
"noempty": true,
"nonew": true,

Loading…
Cancel
Save