Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/featurist/eslint-plugin-hyperdom
https://github.com/featurist/eslint-plugin-hyperdom
eslint-plugin hyperdom jsx
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/featurist/eslint-plugin-hyperdom
- Owner: featurist
- Created: 2017-05-31T08:19:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T14:30:06.000Z (about 7 years ago)
- Last Synced: 2024-11-19T09:37:25.923Z (3 months ago)
- Topics: eslint-plugin, hyperdom, jsx
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# eslint plugin for hyperdom [![npm version](https://img.shields.io/npm/v/eslint-plugin-hyperdom.svg)](https://www.npmjs.com/package/eslint-plugin-hyperdom) [![npm](https://img.shields.io/npm/dm/eslint-plugin-hyperdom.svg)](https://www.npmjs.com/package/eslint-plugin-hyperdom)
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.
## install
```bash
npm install eslint-plugin-hyperdom --save-dev
```## .estlintrc
```json
{
"plugins": [
"hyperdom"
],
"extends": [
"plugin:hyperdom/recommended"
]
}
```## Rules
* [hyperdom/jsx-uses-hyperdom](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-react.md): Prevent hyperdom to be incorrectly marked as unused
* [hyperdom/hyperdom-in-jsx-scope](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md): Prevent missing `hyperdom` when using JSX
* [hyperdom/jsx-uses-vars](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-vars.md): Prevent variables used in JSX to be incorrectly marked as unused
* [hyperdom/jsx-no-duplicate-props](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-duplicate-props.md): Prevent duplicate props in JSX
* [hyperdom/jsx-no-undef](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-undef.md): Disallow undeclared variables in JSX## We're Hiring!
Featurist provides full stack, feature driven development teams. Want to join us? Check out [our career opportunities](https://www.featurist.co.uk/careers/).