This is really just a selection of rules from eslint-plugin-react that are useful in hyperdom JSX.
npm install eslint-plugin-hyperdom --save-dev
{
"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
Featurist provides full stack, feature driven development teams. Want to join us? Check out our career opportunities.