0.0.3 • Published 2 years ago

@ibqn/eslint-config v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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",