1.0.0 • Published 11 months ago
eslint-config-leonardo-santos v1.0.0
ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint eslint-config-leonardo-santos
- Create/Open
.eslintrc.json
file extending the config:
{
"extends": "eslint-config-leonardo-santos/react"
// "extends": "eslint-config-leonardo-santos/node"
}
You can also use a
.eslintrc.ts
instead of JSON if you prefer.
1.0.0
11 months ago