eslint plugin for hyperdom
This is really just a selection of rules from eslint-plugin-react that are useful in hyperdom JSX.
install
npm install eslint-plugin-hyperdom --save-dev
.estlintrc
Rules
- 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