1.3.0 • Published 9 days ago

@renanlido/eslint-config v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 days ago

My ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;
  • Import plugin;

Setup

React (with Next.js)

Install dependencies:

npm i -D eslint @renanlido/eslint-config

Inside .eslintrc.json

{
  "extends": [
    "@renanlido/eslint-config/next",
    "next/core-web-vitals"
  ]
}

React (without Next.js)

Install dependencies:

npm i -D eslint @renanlido/eslint-config

Inside .eslintrc.json

{
  "extends": "@renanlido/eslint-config/react"
}

Node.js

Install dependencies:

npm i -D eslint @renanlido/eslint-config

Inside .eslintrc.json

{
  "extends": "@renanlido/eslint-config/node"
}

Any similarity is no coincidence

Yes, it is based on Rocketseat ESLint config, but, with my own spicy twist 🌶️😉😅.

License

MIT - Feel free to use, share and modify.

Acknowledgment ❤️