eslint-plugin-react-forbid-dom-props
v0.0.2
Published
A plugin for ESLint to forbid dirty props of DOM nodes.
Downloads
36
Readme
eslint-plugin-react-forbid-dom-props
A plugin for ESLint to forbid dirty props of DOM nodes.
The plugin is made from eslint-plugin-react/forbid-component-props but forbids DOM node props instead of a component props.
Usage
"plugins": ["react-forbid-dom-props"],
"rules": {
"react-forbid-dom-props/rule": [<enabled>, { "forbid": [<string>] }]
}
...