eslint-plugin-react-forbid-dom-props

0.0.2 • Public • Published

eslint-plugin-react-forbid-dom-props npm version

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>] }]
}
...

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-react-forbid-dom-props

Weekly Downloads

14

Version

0.0.2

License

MIT

Last publish

Collaborators

  • finom