2.2.2 • Published 1 year ago
@linkysolucoes/eslint-config v2.2.2
Linky Soluções ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Vuejs plugin
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @linkysolucoes/eslint-config
- Create a
.eslintrc.json
file extending the config:
For React:
{
"extends": "@linkysolucoes/eslint-config/react"
}
For Vue:
{
"extends": "@linkysolucoes/eslint-config/vue"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.