replaceVersions

replaceVersions: "exact" | "all" | "all-lower"

Which existing versions of rulesets with same id should be replaced when we insert a new one:

  • all - replace all rulesets with same id.
  • all-lower - replace rulesets with same id and version lower than the version of inserted ruleset.
  • exact - replace only the ruleset whose id and version matches the inserted ruleset.

Defaults to exact.

Defined in

Last Updated: 16 April, 2024