@synclab/eslint-config
v1.1.2
Published
ESLint configuration used by SyncLab.
Downloads
5
Readme
SyncLab ESLint config
Inspired by Rocketseat ESLint config.
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @synclab/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@synclab/eslint-config/react"
// "extends": "@synclab/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.