opencollective / eslint-config-opencollective

https://www.npmjs.com/package/eslint-config-opencollective

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-import eslint-plugin-n eslint-plugin-react eslint-plugin-simple-import-sort eslint-config-opencollective

Then in your ESLint config:

{
  "extends": [
    "opencollective"
  ]
}

You may also add in your package.json:

  "scripts": {
    "lint": "eslint \"src/**/*.js\"",
    "lint:fix": "npm run lint -- --fix",
    "lint:quiet": "npm run lint -- --quiet"
  },

About

https://www.npmjs.com/package/eslint-config-opencollective


Languages

Language:JavaScript 100.0%