Skip to content

alvinscheibe/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Inside .eslintrc.json

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

React (without Next.js)

Install dependencies:

npm i -D @alvinscheibe/eslint-config

Inside .eslintrc.json

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

Node.js

Install dependencies:

npm i -D @alvinscheibe/eslint-config

Inside .eslintrc.json

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

About

ESLint configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published