This is really just a selection of rules from [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) that are useful in hyperdom JSX.
npm install eslint-plugin-hyperdomThis is really just a selection of rules from eslint-plugin-react that are useful in hyperdom JSX.
``bash`
npm install eslint-plugin-hyperdom --save-dev
`json`
{
"plugins": [
"hyperdom"
],
"extends": [
"plugin:hyperdom/recommended"
]
}
* hyperdom/jsx-uses-hyperdom: Prevent hyperdom to be incorrectly marked as unused
* hyperdom/hyperdom-in-jsx-scope: Prevent missing hyperdom` when using JSX
* hyperdom/jsx-uses-vars: Prevent variables used in JSX to be incorrectly marked as unused
* hyperdom/jsx-no-duplicate-props: Prevent duplicate props in JSX
* hyperdom/jsx-no-undef: Disallow undeclared variables in JSX