You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ✔ ||[react/jsx-no-comment-textnodes](docs/rules/jsx-no-comment-textnodes.md)| Comments inside children section of tag should be placed inside braces |
127
128
| ✔ ||[react/jsx-no-duplicate-props](docs/rules/jsx-no-duplicate-props.md)| Enforce no duplicate props |
128
129
| ✔ ||[react/jsx-no-undef](docs/rules/jsx-no-undef.md)| Disallow undeclared variables in JSX |
|||[react/no-access-state-in-setstate](docs/rules/no-access-state-in-setstate.md)| Reports when this.state is accessed within setState |
130
132
| ✔ ||[react/no-danger-with-children](docs/rules/no-danger-with-children.md)| Report when a DOM element is using both children and dangerouslySetInnerHTML |
131
133
| ✔ ||[react/no-direct-mutation-state](docs/rules/no-direct-mutation-state.md)| Prevent direct mutation of this.state |
132
-
|| 🔧 |[react/no-invalid-html-attribute](docs/rules/no-invalid-html-attribute.md)| Forbid attribute with an invalid values|
134
+
|| 🔧 |[react/no-invalid-html-attribute](docs/rules/no-invalid-html-attribute.md)| Forbid attribute with an invalid value|
133
135
|||[react/no-namespace](docs/rules/no-namespace.md)| Enforce that namespaces are not used in React elements |
134
136
|||[react/no-redundant-should-component-update](docs/rules/no-redundant-should-component-update.md)| Flag shouldComponentUpdate when extending PureComponent |
135
137
|||[react/no-this-in-sfc](docs/rules/no-this-in-sfc.md)| Report "this" being used in stateless components |
138
+
|||[react/no-typos](docs/rules/no-typos.md)| Prevent common typos |
136
139
| ✔ ||[react/no-unescaped-entities](docs/rules/no-unescaped-entities.md)| Detect unescaped HTML entities, which might represent malformed tags |
137
140
| ✔ | 🔧 |[react/no-unknown-property](docs/rules/no-unknown-property.md)| Prevent usage of unknown DOM property |
| ✔ ||[react/react-in-jsx-scope](docs/rules/react-in-jsx-scope.md)| Prevent missing React when using JSX |
139
144
| ✔ ||[react/require-render-return](docs/rules/require-render-return.md)| Enforce ES5 or ES6 class for returning value in render function |
140
145
|||[react/style-prop-object](docs/rules/style-prop-object.md)| Enforce style prop value is an object |
@@ -146,7 +151,6 @@ Enable the rules that you would like to use.
146
151
| ✔ | 🔧 | Rule | Description |
147
152
| :---: | :---: | :--- | :--- |
148
153
|||[react/boolean-prop-naming](docs/rules/boolean-prop-naming.md)| Enforces consistent naming for boolean props |
149
-
|||[react/button-has-type](docs/rules/button-has-type.md)| Forbid "button" element without an explicit "type" attribute |
150
154
|||[react/default-props-match-prop-types](docs/rules/default-props-match-prop-types.md)| Enforce all defaultProps are defined and not "required" in propTypes. |
151
155
|||[react/destructuring-assignment](docs/rules/destructuring-assignment.md)| Enforce consistent usage of destructuring assignment of props, state, and context |
152
156
| ✔ ||[react/display-name](docs/rules/display-name.md)| Prevent missing displayName in a React component definition |
@@ -161,13 +165,10 @@ Enable the rules that you would like to use.
161
165
|| 🔧 |[react/jsx-boolean-value](docs/rules/jsx-boolean-value.md)| Enforce boolean attributes notation in JSX |
162
166
|||[react/jsx-filename-extension](docs/rules/jsx-filename-extension.md)| Restrict file extensions that may contain JSX |
163
167
|| 🔧 |[react/jsx-fragments](docs/rules/jsx-fragments.md)| Enforce shorthand or standard form for React fragments |
164
-
|||[react/jsx-handler-names](docs/rules/jsx-handler-names.md)| Enforce event handler naming conventions in JSX |
165
-
|||[react/jsx-max-depth](docs/rules/jsx-max-depth.md)| Validate JSX maximum depth |
166
168
|||[react/jsx-no-bind](docs/rules/jsx-no-bind.md)| Prevents usage of Function.prototype.bind and arrow functions in React component props |
167
169
|||[react/jsx-no-constructed-context-values](docs/rules/jsx-no-constructed-context-values.md)| Prevents JSX context provider values from taking values that will cause needless rerenders. |
0 commit comments