Eslint config for my current preferences including prettier and SonarJS
npm install @kev_nz/eslint-config --save-dev
Add a .eslintrc.json
file to your project
{
"extends": ["@kev_nz"]
}
ESLint is a peerDependency, so you must install it as well
npm install eslint --save-dev