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.
This commit is contained in:
Arlo Breault 2015-06-05 15:05:21 -07:00
parent e0be643b7c
commit b079a056a2

View file

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