This package provides eCollect's base JS .eslintrc as an extensible shared config.
It is heavily based on Airbnb's base package with some rules extended and changed to match eCollect's own guides. The base package is aimed at node.js development.
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
.
- Install the correct versions of each package, which are listed by the command:
npx install-peerdeps --dev eslint-config-ecollect-base
- Add
"extends": "ecollect-base
to your .eslintrc.