diff --git a/environments/react/recommended.js b/environments/react/recommended.js index 89831d8..9efa50e 100644 --- a/environments/react/recommended.js +++ b/environments/react/recommended.js @@ -262,5 +262,10 @@ module.exports = { // Invariant Violation: img is a void element tag and must neither have children nor use // dangerouslySetInnerHTML 'react/void-dom-elements-no-children': 'error', + + // Forbid certain props on DOM Nodes + // This rule checks all JSX elements and verifies that no forbidden props are used on DOM Nodes. + // This rule only applies to DOM Nodes (e.g.
) and not Components (e.g.