https://github.com/vast-engineering/eslint-config-vast-react
ESLint shareable config for React to be used with eslint-config-vast
https://github.com/vast-engineering/eslint-config-vast-react
Last synced: about 1 year ago
JSON representation
ESLint shareable config for React to be used with eslint-config-vast
- Host: GitHub
- URL: https://github.com/vast-engineering/eslint-config-vast-react
- Owner: vast-engineering
- License: mit
- Created: 2016-10-26T23:14:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T14:28:21.000Z (over 9 years ago)
- Last Synced: 2025-03-13T22:09:17.357Z (about 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-vast-react
> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for React to be used with [eslint-config-vast](https://github.com/vast-engineering/eslint-config-vast)
[](https://www.npmjs.org/package/eslint-config-vast-react) [](https://david-dm.org/vast-engineering/eslint-config-vast-react) [](https://david-dm.org/vast-engineering/eslint-config-vast-react?type=dev) [](https://david-dm.org/vast-engineering/eslint-config-vast-react?type=peer)
This config uses [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) for linting React and JSX, and [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) for basic accessibility checks.
## Installation
npm i --save-dev eslint-config-vast-react eslint-config-vast eslint-plugin-react eslint-plugin-jsx-a11y
## Usage
Create `.eslintrc` file in the root of your project with the following config:
```javascript
{
"extends": ["eslint-config-vast", "eslint-config-vast-react"]
}
```
See [eslint-config-vast](https://github.com/vast-engineering/eslint-config-vast) for additional information.
## Related
- [eslint-config-vast](https://github.com/vast-engineering/eslint-config-vast)
## Other configs
- [eslint-config-airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) for [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript)
- [eslint-config-xo-react](https://github.com/sindresorhus/eslint-config-xo-react) for [XO](https://github.com/sindresorhus/xo) ESLint-based linter
## License
[MIT](LICENSE) © 2016 Vast.com, Inc.