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