43081j / eslint-plugin-lit

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

feat (lifecycle-super): add new lifecycle-super rule #173

Closed 43081j closed 1 year ago

43081j commented 1 year ago

basically enforces that the following methods call super:

This one is specific to lit since we know for sure the base methods should usually be called.

Originally i did recommend this goes in eslint-plugin-wc, but on second thought it doesn't make much sense there since it isn't guaranteed that non-lit elements have these methods implemented.