Skip to content

Fireballpt1/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint config

Whats included?

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

Setup

  1. Install the dependencies
npm i -D eslint eslint-config-leonardo-santos
  1. Create/Open .eslintrc.json file extending the config:
{
  "extends": "eslint-config-leonardo-santos/react"
  // "extends": "eslint-config-leonardo-santos/node"
}

You can also use a .eslintrc.ts instead of JSON if you prefer.