Skip to content

Commit 2bd38e5

Browse files
committed
Update deprecated notice for no-forbidden-props
1 parent 15d1084 commit 2bd38e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugins/eslint-plugin-react-x/src/rules/no-forbidden-props.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ react-x/no-forbidden-props
1818

1919
`🔧` `🧪`
2020

21-
<Callout type="warning" title="Deprecated">
22-
This rule is deprecated. AST-based component props restrictions can be easily bypassed and this rule is not significantly more effective than using `no-restricted-syntax` to achieve the same result. For similar prop restriction requirements, we recommend using static type checking instead.
21+
<Callout type="warning" title="DEPRECATED">
22+
Use [`no-restricted-syntax`](https://eslint.org/docs/latest/rules/no-restricted-syntax) rule or type checking instead. This rule is deprecated and will be removed in future releases.
2323
</Callout>
2424

2525
## Description

0 commit comments

Comments
 (0)