Ensures that all Stencil lifecycles
are written in correct order.
Order could be alphabetical
or call-order
This is the correct order for call-order:
- connectedCallback
- componentWillLoad
- componentDidLoad
- componentWillRender
- componentDidRender
- componentShouldUpdate
- componentWillUpdate
- componentDidUpdate
- componentDidUnload
- disconnectedCallback
- render
{ "@d0whc3r/stencil/lifecycle-order": ["error", "alphabetical"] }
{ "@d0whc3r/stencil/lifecycle-order": ["error", "call-order"] }