4.0.1 • Published 2 years ago

@nathalyaricci/eslint-config v4.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

  1. Install dependencies
npm i -D @nathalyaricci/eslint-config
  1. Extend the config in a .eslintrc.js, .eslintrc or .eslintrc.json file
# .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
}