Skip to content

Commit 142fb10

Browse files
refactor: Disable forbid-component-props.
1 parent 94fac81 commit 142fb10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/general.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ module.exports = {
8484
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-component-props.md
8585
*
8686
* @example
87-
* ["error", {
87+
* ["off", {
8888
* forbid: ["className", "style"],
8989
* }]
9090
*/
91-
"react/forbid-component-props": ["error", {
91+
"react/forbid-component-props": ["off", {
9292
forbid: ["className", "style"],
9393
}],
9494

0 commit comments

Comments
 (0)