Rule: unnecessary-constructor

Prevents blank constructors, as they are redundant.

Rationale

JavaScript implicitly adds a blank constructor when there isn’t one. It’s not necessary to manually add one in.

Config

An optional object with the property ‘check-super-calls’. This is to check for unnecessary constructor parameters for super call

Config examples
"unnecessary-constructor": true
"unnecessary-constructor": [true, {"check-super-calls": true}]
Schema
{
  "properties": {
    "check-super-calls": {
      "type": "boolean"
    }
  },
  "type": "object"
}