requireCapitalizedConstructorsNew

Requires capitalized constructors to to use the new keyword

Types: Boolean or Object

Values: true or Object with allExcept Array of quoted identifiers which are exempted

JSHint: newcap

Example

"requireCapitalizedConstructorsNew": true
"requireCapitalizedConstructorsNew": {
    "allExcept": ["SomethingNative"]
}
Valid
var a = new B();
var c = SomethingNative();
Invalid
var d = E();
Rule source
Test source