eslint-plugin-ember-best-practices icon indicating copy to clipboard operation
eslint-plugin-ember-best-practices copied to clipboard

Updated `no-broken-super-chain` rule to account for more lifecycle hooks …

Open evanfarina opened this issue 7 years ago • 0 comments

…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)

evanfarina avatar Nov 02 '17 14:11 evanfarina