Files
openstapps/configuration/eslint-config
Rainer Killinger afd1c8d87e docs: update changelogs for release
ci: publish release
2025-08-27 13:00:27 +02:00
..
2023-05-31 14:05:45 +02:00
2024-03-27 09:55:29 +01:00
2023-05-31 14:05:45 +02:00

@openstapps/eslint-config

pipeline status npm license)

Installation

Put this into your .eslintrc

{
  "extends": "@openstapps"
}

Unfortunately, ESLint requires you to define plugins and configs your config depends on as peerDependencies, which means they have to be installed manually.

Use the command

npx install-peerdeps -od --extra-args "-E" @openstapps/eslint-config

Or, alternatively, add the following to your package.json:

{
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": ">=5.29.0",
    "@typescript-eslint/parser": ">=5.29.0",
    "eslint": ">=8.18.0",
    "eslint-config-prettier": ">=8.5.0",
    "eslint-plugin-jsdoc": ">=39.3.3",
    "eslint-plugin-prettier": ">=4.0.0",
    "eslint-plugin-unicorn": ">=41.0.1",
    "prettier": ">=2.7.1"
  }
}