We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
react/prop-types
1 parent 6e85077 commit d48ac28Copy full SHA for d48ac28
default.mjs
@@ -243,6 +243,10 @@ export const reactConfig = [
243
"react/prefer-es6-class": "error",
244
"react/self-closing-comp": "error",
245
"react/void-dom-elements-no-children": "error",
246
+
247
+ // Removed in React 19 (https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops).
248
+ // But still in the recommended rules (https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.37.5/docs/rules/prop-types.md).
249
+ "react/prop-types": "off",
250
},
251
252
];
0 commit comments