跳到內容

eslint/constructor-super 測試中

功能說明

要求在建構子中呼叫 'super()'。

為什麼這不好?

範例

javascript
class A extends B {
  constructor() {}
}

參考資料

在 MIT 許可下發布。