Skip to content

Commit

Permalink
Update no-unused-class-component-methods.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed Nov 12, 2021
1 parent 21e01b6 commit ab18265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/no-unused-class-component-methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const LIFECYCLE_METHODS = new Set([
'componentWillReceiveProps',
'componentWillUnmount',
'componentWillUpdate',
'getChildContext',
'getSnapshotBeforeUpdate',
'render',
'shouldComponentUpdate',
Expand Down

0 comments on commit ab18265

Please sign in to comment.