Skip to content

Commit 1a45f81

Browse files
committed
Allow modifying Set and Map in immutable rule lint config
1 parent 7ec7d8e commit 1a45f81

File tree

3 files changed

+42
-41
lines changed

3 files changed

+42
-41
lines changed

docs/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ Config for **React** projects.
7676
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [jsx-uses-vars](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-uses-vars.md)<br />Disallow variables used in JSX to be incorrectly marked as unused | | | |
7777
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-access-state-in-setstate](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-access-state-in-setstate.md)<br />Disallow when this.state is accessed within setState | | | |
7878
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-array-index-key](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-array-index-key.md)<br />Disallow usage of Array index in keys | | | |
79-
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-children-prop](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-children-prop.md)<br />Disallow passing of children as props | | | |
8079
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-danger](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger.md)<br />Disallow usage of dangerous JSX properties | | | |
8180
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-danger-with-children](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger-with-children.md)<br />Disallow when a DOM element is using both children and dangerouslySetInnerHTML | | | |
8281
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-deprecated](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-deprecated.md)<br />Disallow usage of deprecated methods | | | |
8382
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-did-mount-set-state](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-mount-set-state.md)<br />Disallow usage of setState in componentDidMount | | | |
8483
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-did-update-set-state](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-update-set-state.md)<br />Disallow usage of setState in componentDidUpdate | | | |
8584
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-direct-mutation-state](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-direct-mutation-state.md)<br />Disallow direct mutation of this.state | | | |
8685
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-find-dom-node](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-find-dom-node.md)<br />Disallow usage of findDOMNode | | | |
86+
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-children-prop](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-children-prop.md)<br />Disallow passing of children as props | | | |
8787
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-invalid-html-attribute](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-invalid-html-attribute.md)<br />Disallow usage of invalid attributes | | 💡 | |
8888
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-is-mounted.md)<br />Disallow usage of isMounted | | | |
8989
| [![react](./icons/material/react.png)](https://github.com/jsx-eslint/eslint-plugin-react#readme) | [no-namespace](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-namespace.md)<br />Enforce that namespaces are not used in React elements | | | |

0 commit comments

Comments
 (0)