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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

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

      Weekly Downloads

      0

      Version

      0.0.2

      License

      MIT

      Last publish

      Collaborators

      • finom