Skip to content

Abandonment Presets

abandonments:recommended

Recommended configuration for abandoned packages, treating packages without a release for 1 year as abandoned, while taking into account community-sourced overrides.

{
  "packageRules": [
    {
      "matchPackageNames": [
        "*"
      ],
      "abandonmentThreshold": "1 year"
    },
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@types/*"
      ],
      "abandonmentThreshold": null
    },
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "lodash"
      ],
      "abandonmentThreshold": "6 years"
    }
  ]
}