eslint-plugin-ember-best-practices
eslint-plugin-ember-best-practices copied to clipboard
Updated `no-broken-super-chain` rule to account for more lifecycle hooks …
…and more object types. The rule now checks any object that's using extend, and validates the init, willDestroy, destroy and willDestroyElement hooks. In addition, I updated the rule to validate that arguments were correctly passed to the super call. Both of the below pass the rule:
this._super(...arguments);
this._super.apply(this, arguments)