1.1.0 • Published 1 year ago
eslint-config-terralab v1.1.0
TerraLab ESLint config
What's included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- Import Helper plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint eslint-config-terralab
or
yarn add -D eslint eslint-config-terralab
- Create a
.eslintrc.json
file extending the config:
{
"extends": "eslint-config-terralab"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.