@synclab/eslint-config
v1.1.2
Published
ESLint configuration used by SyncLab.
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.jsonfile extending the config:
{
"extends": "@synclab/eslint-config/react"
// "extends": "@synclab/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
