Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 881 Bytes

readme.md

File metadata and controls

43 lines (32 loc) · 881 Bytes

Shared common eslint config

Install this package with:

pnpm add @ibqn/eslint-config

This package is published on npmjs and as well as on github registries.

To be able to install this package from the github registry add the following line to your ~/.npmrc file

@ibqn:registry=https://npm.pkg.github.com

To include this eslint configuration add the following to your package.json file.

"eslintConfig": {
    "extends": "@ibqn/eslint-config"
  },

Additionally, add the following linting commands to your script

"scripts": {
  ...
  "lint": "eslint . --ext .ts",
  "lint:fix": "pnpm run lint -- --fix",
  ...
}

and install the following peer dependencies

"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",