Skip to content

Commit c7599ca

Browse files
committed
Disable React defaultProps ESLint rules for React 18 compatibility
1 parent 893f05a commit c7599ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ui/.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
{
5757
"ignore": ["\\.css$"]
5858
}
59-
]
59+
],
60+
"react/require-default-props": "off",
61+
"react/default-props-match-prop-types": "off"
6062
}
6163
}

0 commit comments

Comments
 (0)