Skip to content

Commit 81ac539

Browse files
committed
Add forbid-prop-types to the README
1 parent f0d71ee commit 81ac539

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
@@ -47,6 +47,7 @@ Finally, enable all of the rules that you would like to use.
4747
{
4848
"rules": {
4949
"react/display-name": 1,
50+
"react/forbid-prop-types": 1,
5051
"react/jsx-boolean-value": 1,
5152
"react/jsx-closing-bracket-location": 1,
5253
"react/jsx-curly-spacing": 1,
@@ -80,6 +81,7 @@ Finally, enable all of the rules that you would like to use.
8081
# List of supported rules
8182

8283
* [display-name](docs/rules/display-name.md): Prevent missing `displayName` in a React component definition
84+
* [forbid-prop-types](docs/rules/forbid-prop-types.md): Forbid certain propTypes
8385
* [jsx-boolean-value](docs/rules/jsx-boolean-value.md): Enforce boolean attributes notation in JSX
8486
* [jsx-closing-bracket-location](docs/rules/jsx-closing-bracket-location.md): Validate closing bracket location in JSX
8587
* [jsx-curly-spacing](docs/rules/jsx-curly-spacing.md): Enforce or disallow spaces inside of curly braces in JSX attributes

0 commit comments

Comments
 (0)