{
  "extends": [
    "config:base",
    "group:test",
    "group:linters"
  ],
  "lockFileMaintenance": { "enabled": true },
  "labels": ["dependencies"],
  "packageRules": [
    {
      "matchPackagePatterns": ["*"],
      "minor": {
        "groupName": "most non-major dependencies",
        "groupSlug": "most-minor-patch"
      }
    },
    {
      "matchPackageNames": ["com.microsoft.sqlserver:mssql-jdbc"],
      "allowedVersions": "/^.*\\.jre8$/"
    },
    {
      "matchPackageNames": [
        "com.networknt:json-schema-validator",
        "draft-js"
      ],
      "enabled": false
    }
  ],
  "postUpdateOptions": ["yarnDedupeHighest"],
  "vulnerabilityAlerts": {
    "labels": ["security"]
  },
  "pipenv": {
    "enabled": true
  }
}

{
  "extends": [
    "config:base",
    "group:test",
    "group:linters"
  ],
  "lockFileMaintenance": { "enabled": true },
  "labels": ["dependencies"],
  "packageRules": [
    {
      "matchPackagePatterns": ["*"],
      "minor": {
        "groupName": "most non-major dependencies",
        "groupSlug": "most-minor-patch"
      },
      "patch": {
        "groupName": "most non-major dependencies",
        "groupSlug": "most-minor-patch"
      }
    },
    {
      "matchPackageNames": ["com.microsoft.sqlserver:mssql-jdbc"],
      "allowedVersions": "/^.*\\.jre8$/"
    },
    {
      "matchPackageNames": [
        "com.networknt:json-schema-validator",
        "draft-js"
      ],
      "enabled": false
    }
  ],
  "postUpdateOptions": ["yarnDedupeHighest"],
  "vulnerabilityAlerts": {
    "labels": ["security"]
  },
  "pipenv": {
    "enabled": true
  }
}

Apply most-minor-patch grouping to patch as well
Apply most-minor-patch grouping to patch as well