@@ -77,7 +77,7 @@ export default [
77
77
| ` avoid-shorthand-fragment ` | Enforces the use of shorthand syntax for fragments. | 🎨 | | |
78
78
| ` ensure-forward-ref-using-ref ` | Requires that components wrapped with ` forwardRef ` must have a ` ref ` parameter. | ✔️ | | |
79
79
| ` no-access-state-in-setstate ` | Prevents accessing ` this.state ` inside ` setState ` calls. | ✔️ | | |
80
- | ` no-array-index-key ` | Warns when an array ` index ` is used as a ` key ` prop. | 👀 | | |
80
+ | ` no-array-index-key ` | Warns when an array ` index ` is used as a ` key ` prop. | 🧐 | | |
81
81
| ` no-children-count ` | Prevents usage of ` Children.count ` . | ⛔ | | |
82
82
| ` no-children-for-each ` | Prevents usage of ` Children.forEach ` . | ⛔ | | |
83
83
| ` no-children-map ` | Prevents usage of ` Children.map ` . | ⛔ | | |
@@ -86,27 +86,27 @@ export default [
86
86
| ` no-children-to-array ` | Prevents usage of ` Children.toArray ` . | ⛔ | | |
87
87
| ` no-class-component ` | Prevents usage of class component. | ⛔ | | |
88
88
| ` no-clone-element ` | Prevents usage of ` cloneElement ` . | ⛔ | | |
89
- | ` no-comment-textnodes ` | Prevents comments from being inserted as text nodes. | 👀 | | |
89
+ | ` no-comment-textnodes ` | Prevents comments from being inserted as text nodes. | 🧐 | | |
90
90
| ` no-component-will-mount ` | Prevents usage of ` componentWillMount ` . | ⛔ | | |
91
91
| ` no-component-will-receive-props ` | Prevents usage of ` componentWillReceiveProps ` . | ⛔ | | |
92
92
| ` no-component-will-update ` | Prevents usage of ` componentWillUpdate ` . | ⛔ | | |
93
93
| ` no-create-ref ` | Prevents usage of ` createRef ` . | ⛔ | | |
94
94
| ` no-default-props ` | Prevents usage of ` defaultProps ` . | ⛔ | | |
95
95
| ` no-direct-mutation-state ` | Prevents direct mutation of ` this.state ` . | ✔️ | | |
96
96
| ` no-duplicate-key ` | Prevents duplicate ` key ` props on elements in the same array or a list of ` children ` . | ✔️ | | |
97
- | ` no-leaked-conditional-rendering ` | Prevents problematic leaked values from being rendered. | 👀 | 💭 | |
97
+ | ` no-leaked-conditional-rendering ` | Prevents problematic leaked values from being rendered. | 🧐 | 💭 | |
98
98
| ` no-missing-component-display-name ` | Enforces that all components have a ` displayName ` which can be used in devtools. | 🐞 | | |
99
99
| ` no-missing-key ` | Prevents missing ` key ` prop on items in list rendering. | ✔️ | | |
100
100
| ` no-nested-components ` | Prevents nesting component definitions inside other components. | ✔️ | | |
101
101
| ` no-prop-types ` | Prevents usage of ` propTypes ` . | ⛔ | | |
102
102
| ` no-redundant-should-component-update ` | Prevents usage of ` shouldComponentUpdate ` when extending ` React.PureComponent ` . | ✔️ | | |
103
- | ` no-set-state-in-component-did-mount ` | Disallows calling ` this.setState ` in ` componentDidMount ` outside of functions, such as callbacks. | 👀 | | |
104
- | ` no-set-state-in-component-did-update ` | Disallows calling ` this.setState ` in ` componentDidUpdate ` outside of functions, such as callbacks. | 👀 | | |
105
- | ` no-set-state-in-component-will-update ` | Disallows calling ` this.setState ` in ` componentWillUpdate ` outside of functions, such as callbacks. | 👀 | | |
103
+ | ` no-set-state-in-component-did-mount ` | Disallows calling ` this.setState ` in ` componentDidMount ` outside of functions, such as callbacks. | 🧐 | | |
104
+ | ` no-set-state-in-component-did-update ` | Disallows calling ` this.setState ` in ` componentDidUpdate ` outside of functions, such as callbacks. | 🧐 | | |
105
+ | ` no-set-state-in-component-will-update ` | Disallows calling ` this.setState ` in ` componentWillUpdate ` outside of functions, such as callbacks. | 🧐 | | |
106
106
| ` no-string-refs ` | Disallows using deprecated string ` refs ` . | ⛔ | | |
107
- | ` no-unsafe-component-will-mount ` | Warns usage of ` UNSAFE_componentWillMount ` in class components. | 👀 | | |
108
- | ` no-unsafe-component-will-receive-props ` | Warns usage of ` UNSAFE_componentWillReceiveProps ` in class components. | 👀 | | |
109
- | ` no-unsafe-component-will-update ` | Warns usage of ` UNSAFE_componentWillUpdate ` in class components. | 👀 | | |
107
+ | ` no-unsafe-component-will-mount ` | Warns usage of ` UNSAFE_componentWillMount ` in class components. | 🧐 | | |
108
+ | ` no-unsafe-component-will-receive-props ` | Warns usage of ` UNSAFE_componentWillReceiveProps ` in class components. | 🧐 | | |
109
+ | ` no-unsafe-component-will-update ` | Warns usage of ` UNSAFE_componentWillUpdate ` in class components. | 🧐 | | |
110
110
| ` no-unstable-context-value ` | Prevents non-stable values (i.e. object literals) from being used as a value for ` Context.Provider ` . | 🚀 | | |
111
111
| ` no-unstable-default-props ` | Prevents usage of referential-type values as default props in object destructuring. | 🚀 | | |
112
112
| ` no-unused-class-component-members ` | Warns unused class component methods and properties. | ✔️ | | |
0 commit comments