npm

@urbanonorte/eslint-config

0.0.1 • Public • Published

urbanonorte Norte 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 @urbanonorte/eslint-config

Inside .eslintrc.json

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

React (without Next.js)

Install dependencies:

npm i -D eslint @urbanonorte/eslint-config

Inside .eslintrc.json

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

Node.js

Install dependencies:

npm i -D eslint @urbanonorte/eslint-config

Inside .eslintrc.json

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

Readme

Keywords

none

Package Sidebar

Install

npm i @urbanonorte/eslint-config

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

5.11 kB

Total Files

5

Last publish

Collaborators

  • devhijazi