Skip to content

Commit e349265

Browse files
authored
docs: clarify semver strings in rule deprecation objects (#20885)
1 parent 92f5c5b commit e349265

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/src/extend/rule-deprecation.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Every property is optional.
1919
Information about the available replacements for the rule.
2020
This may be an empty array to explicitly state there is no replacement.
2121
- `deprecatedSince` (`string`)<br>
22-
[Semver](https://semver.org/) of the version deprecating the rule.
22+
[Semver](https://semver.org/) of the version deprecating the rule. It should be the full semver string that represents the specific version, without leading `"v"`, e.g. `"3.12.0"`.
2323
- `availableUntil` (`string | null`)<br>
24-
[Semver](https://semver.org/) of the version likely to remove the rule, e.g. the next major version.
24+
[Semver](https://semver.org/) of the version likely to remove the rule, e.g. the next major version. It should be the full semver string that represents the specific version, without leading `"v"`, e.g. `"4.0.0"`.
2525
The special value `null` means the rule will no longer be changed but will be kept available.
2626

2727
## ◆ ReplacedByInfo type

0 commit comments

Comments
 (0)