From d362ccfcf8ddf68e59458b217543099c92968c6f Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Mon, 13 Jul 2015 15:09:42 -0500 Subject: [PATCH] Add no-danger to README This rule was added by 0c132f5559 but was not added to the README, so it was difficult to discover. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index db2b7029f4..44040b29b3 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Finally, enable all of the rules that you would like to use. "react/jsx-sort-props": 1, "react/jsx-uses-react": 1, "react/jsx-uses-vars": 1, + "react/no-danger": 1, "react/no-did-mount-set-state": 1, "react/no-did-update-set-state": 1, "react/no-multi-comp": 1, @@ -75,6 +76,7 @@ Finally, enable all of the rules that you would like to use. * [jsx-sort-props](docs/rules/jsx-sort-props.md): Enforce props alphabetical sorting * [jsx-uses-react](docs/rules/jsx-uses-react.md): Prevent React to be incorrectly marked as unused * [jsx-uses-vars](docs/rules/jsx-uses-vars.md): Prevent variables used in JSX to be incorrectly marked as unused +* [no-danger](docs/rules/no-danger.md): Prevent usage of dangerous JSX properties * [no-did-mount-set-state](docs/rules/no-did-mount-set-state.md): Prevent usage of setState in componentDidMount * [no-did-update-set-state](docs/rules/no-did-update-set-state.md): Prevent usage of setState in componentDidUpdate * [no-multi-comp](docs/rules/no-multi-comp.md): Prevent multiple component definition per file