1.0.0 • Published 10 months 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.js
instead of JSON if you prefer.
1.0.0
10 months ago