requireCapitalizedConstructors

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

Example

"requireCapitalizedConstructors": true
"requireCapitalizedConstructors": {
    "allExcept": ["somethingNative"]
}
Valid
var a = new B();
var c = new this();
var d = new somethingNative();
Invalid
var d = new e();
Rule source
Test source