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