Base ESLint configuration for Contrast NodeJS projects.
npm install --save-dev @contrast/eslint-config
# if on npm <7
npx install-peerdeps --dev @contrast/eslint-config
Add the following to your .eslintrc.json
or wherever else your ESLint config
may reside:
{
"extends": "@contrast"
}