https://github.com/pitops/eslint-config-pitops
https://github.com/pitops/eslint-config-pitops
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pitops/eslint-config-pitops
- Owner: pitops
- Created: 2019-07-11T07:40:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T08:19:25.000Z (over 3 years ago)
- Last Synced: 2025-07-14T23:41:47.522Z (11 months ago)
- Language: JavaScript
- Size: 272 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# How to install
# NPM or Yarn
```bash
npx install-peerdeps --dev eslint-config-pitops // add --yarn if using yarn
```
## Monorepo (lerna & yarn)
If you are in a monorepo then the procedure is a bit different.
```bash
npx install-peerdeps --dev eslint-config-pitops --extra-args -W // add --yarn if using yarn
```
# 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
```javascript
// .eslintrc.js
module.exports = {
extends: [
"pitops/react" // or "pitops/node"
]
}
```
# Contributions
Are always welcome.