UNPKG

eslint-config-lemon

Version:

<div align="center"> <br> <img width="400" src="logo.svg"> <br> <br> </div>

31 lines (28 loc) 611 B
/** * @fileoverview lifecycle methods * @author Tan Nguyen */ 'use strict'; module.exports = { instance: [ 'getDefaultProps', 'getInitialState', 'getChildContext', 'componentWillMount', 'UNSAFE_componentWillMount', 'componentDidMount', 'componentWillReceiveProps', 'UNSAFE_componentWillReceiveProps', 'shouldComponentUpdate', 'componentWillUpdate', 'UNSAFE_componentWillUpdate', 'getSnapshotBeforeUpdate', 'componentDidUpdate', 'componentDidCatch', 'componentWillUnmount', 'render', ], static: [ 'getDerivedStateFromProps', ], };