Skip to content

Commit 2ee095e

Browse files
author
Haridu Senadeera
committed
added render method
1 parent 968f745 commit 2ee095e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/rules/no-typos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and the following react lifecycle methods:
2424
* componentWillUpdate
2525
* componentDidUpdate
2626
* componentWillUnmount
27+
* render
2728

2829

2930
The following patterns are considered warnings:

lib/rules/no-typos.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ const LIFECYCLE_METHODS = [
1717
'shouldComponentUpdate',
1818
'componentWillUpdate',
1919
'componentDidUpdate',
20-
'componentWillUnmount'
20+
'componentWillUnmount',
21+
'render'
2122
];
2223

2324
module.exports = {

0 commit comments

Comments
 (0)