0.0.11 • Published 6 years ago
eslint-config-pitops v0.0.11
How to install
NPM or Yarn
npx install-peerdeps --dev eslint-config-pitops
Monorepo (lerna & yarn)
If you are in a monorepo then the procedure is a bit different.
npx install-peerdeps --dev eslint-config-pitops --extra-args -W
Usage
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
Use using the following
// .eslintrc.js
module.exports = {
extends: [
"pitops/react" // or "pitops/node"
]
}
Contributions
Are always welcome.