@tonaco/eslint-config
v1.0.0
Published
ESLint configuration by @joaotonaco.
Downloads
2
Readme
ESLint config by @joaotonaco
Inspired by Rocketseat ESLint config.
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Import plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @tonaco/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@tonaco/eslint-config/react"
// "extends": "@tonaco/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.