eslint-config-stax
Version:
Stax eslint config
25 lines (16 loc) • 848 B
Markdown
[](https://badge.fury.io/js/eslint-config-stax)
# eslint-config-stax
A simple, pleasant set ESLint rules for your project: install a single NPM package, add it to your `.eslintrc`, and you'll be all set.
> This plugin exposes [the ESLint configuration used by Create React App](https://github.com/facebook/create-react-app/tree/master/packages/eslint-config-react-app) without the need of declaring all its dependencies.
> Use it if you need a simple and tested ESLint configuration but you don't want to install a bunch of dependencies.
> It also works in React Native out of the box.
## Setup
1. Install it using npm: `npm install -D eslint eslint-config-stax`.
2. Extend `stax` in your `.eslintrc`.
Example `.eslintrc`:
```json
{
"extends": ["stax"]
}
```
3. You're done!