@joel-luis/eslint-config

0.1.11 • Public • Published

ESLint config

Whats included?

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

Setup

React (with Next.js)

Install dependencies:

npm i -D eslint @joel-luis/eslint-config

Inside .eslintrc.json

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

React (without Next.js)

Install dependencies:

npm i -D eslint @joel-luis/eslint-config

Inside .eslintrc.json

{
  "extends": "@joel-luis/eslint-config/react"
}

Node.js

Install dependencies:

npm i -D eslint @joel-luis/eslint-config

Inside .eslintrc.json

{
  "extends": "@joel-luis/eslint-config/node"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @joel-luis/eslint-config

Weekly Downloads

0

Version

0.1.11

License

MIT

Unpacked Size

6.53 kB

Total Files

6

Last publish

Collaborators

  • joel-luis