43081j / eslint-plugin-lit

lit-html support for ESLint
120 stars 22 forks source link

Add rule to check for super calls #91

Closed stramel closed 1 year ago

stramel commented 3 years ago

This rule could be similar to eslint-plugin-wc's guard-super-callback that checks that any super lifecycle calls are guarded.

One example is that Lit has a updated callback but doesn't need the super called. However, if a mixin is applied it would be best to call the super just in case.

43081j commented 1 year ago

Fixed in #173