Requires constructors to be capitalized (except for this
)
Types: Boolean
or Object
Values: true
or Object with allExcept
Array of quoted identifiers which are exempted
JSHint: newcap
"requireCapitalizedConstructors": true
"requireCapitalizedConstructors": {
"allExcept": ["somethingNative"]
}
var a = new B();
var c = new this();
var d = new somethingNative();
var d = new e();