Skip to content

Commit ab4da9f

Browse files
committed
Merge pull request #147 from lencioni/no-danger-readme
Add no-danger to README
2 parents b9e71b8 + d362ccf commit ab4da9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Finally, enable all of the rules that you would like to use.
5050
"react/jsx-sort-props": 1,
5151
"react/jsx-uses-react": 1,
5252
"react/jsx-uses-vars": 1,
53+
"react/no-danger": 1,
5354
"react/no-did-mount-set-state": 1,
5455
"react/no-did-update-set-state": 1,
5556
"react/no-multi-comp": 1,
@@ -75,6 +76,7 @@ Finally, enable all of the rules that you would like to use.
7576
* [jsx-sort-props](docs/rules/jsx-sort-props.md): Enforce props alphabetical sorting
7677
* [jsx-uses-react](docs/rules/jsx-uses-react.md): Prevent React to be incorrectly marked as unused
7778
* [jsx-uses-vars](docs/rules/jsx-uses-vars.md): Prevent variables used in JSX to be incorrectly marked as unused
79+
* [no-danger](docs/rules/no-danger.md): Prevent usage of dangerous JSX properties
7880
* [no-did-mount-set-state](docs/rules/no-did-mount-set-state.md): Prevent usage of setState in componentDidMount
7981
* [no-did-update-set-state](docs/rules/no-did-update-set-state.md): Prevent usage of setState in componentDidUpdate
8082
* [no-multi-comp](docs/rules/no-multi-comp.md): Prevent multiple component definition per file

0 commit comments

Comments
 (0)