eslint-plugin-react
eslint-plugin-react copied to clipboard
[New]: `forbid-dom-props`: support React Strict Dom elements (`html.div`, etc)
Summary
Add suport for React Strict DOM notation of DOM nodes: html.div, html.span, h.h1, etc
Details
The code is based on forbid-component-props rule that already supported Namespace.Component notation.
Testing
Added pass/fail tests for html.div, h.span, etc