Skip to content

ibqn/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Shared common eslint config

Topics

Resources

Stars

Watchers

Forks

Packages