4.0.1 • Published 2 years ago
@nathalyaricci/eslint-config v4.0.1
eslint-config
ESlint configuration for React/Nextjs and Nodejs
What is included?
- Standard config base;
- Typescript support;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Tailwindcss;
- Simple-import-sort
How to setup
- Install dependencies
npm i -D @nathalyaricci/eslint-config- Extend the config in a
.eslintrc.js,.eslintrcor.eslintrc.jsonfile
# .eslintrc.js
module.exports = {
extends: ["@nathalyaricci/eslint-config/{config-file}"] # /react or /node
}# .eslintrc.json or .eslintrc
{
extends: ["@nathalyaricci/eslint-config/{config-file}"] # /react or /node
}