eslint-config-leonardo-santos
v1.0.0
Published
ESLint configuration used by Leonardo Santos.
Downloads
2
Readme
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.