1.0.0 • Published 2 years ago
@codeboxlab_/eslint-config v1.0.0
CodeBoxLab ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- Import Helpers
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
# With npm
npm i -D eslint @codeboxlab/eslint-config
# With yarn
yarn add -D eslint @codeboxlab/eslint-config- Create a
.eslintrc.json(or.eslintrc) file extending the config:
{
"extends": "@codeboxlab/eslint-config"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
1.0.0
2 years ago