Rule: new-parens
Requires parentheses when invoking a constructor via the new
keyword.
Rationale
Maintains stylistic consistency with other function calls.
Config
Not configurable.
Examples
"new-parens": true
Schema
null
Requires parentheses when invoking a constructor via the new
keyword.
Maintains stylistic consistency with other function calls.
Not configurable.
"new-parens": true
null