npx install-peerdeps --dev eslint-config-pitops // add --yarn if using yarn
If you are in a monorepo then the procedure is a bit different.
npx install-peerdeps --dev eslint-config-pitops --extra-args -W // add --yarn if using yarn
This package is broken down into submodules. Right now there are two sub-modules out of the box, one for React and one for Node
// .eslintrc.js
module.exports = {
extends: [
"pitops/react" // or "pitops/node"
]
}
Are always welcome.