1.3.1 • Published 3 years ago

eslint-config-helpmydesk v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Helpmydesk ESLint config

Whats included?

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

Setup React

  1. Install the dependencies
npm i -D eslint eslint-config-helpmydesk
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "eslint-config-helpmydesk/react"
}

Setup Next

  1. Install the dependencies
npm i -D eslint eslint-config-helpmydesk
  1. Create a .eslintrc.json file extending the config:
{
  "extends": ["next", "eslint-config-helpmydesk/react"]
}
  1. Your root imports is order by internal group, but you have to add in your tsconfig.json file in root folder

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