ESLint shareable config for React to be used with eslint-config-vast
This config uses eslint-plugin-react for linting React and JSX, and eslint-plugin-jsx-a11y for basic accessibility checks.
npm i --save-dev eslint-config-vast-react eslint-config-vast eslint-plugin-react eslint-plugin-jsx-a11y
Create .eslintrc
file in the root of your project with the following config:
{
"extends": ["eslint-config-vast", "eslint-config-vast-react"]
}
See eslint-config-vast for additional information.
- eslint-config-airbnb for Airbnb JavaScript Style Guide
- eslint-config-xo-react for XO ESLint-based linter
MIT © 2016 Vast.com, Inc.