Readme: Clarify rule deprecation (#1446)
This commit is contained in:
parent
7e6b7ebe1d
commit
6888916f35
@ -159,7 +159,9 @@ In the `metadata.json` of the rule you want to deprecate:
|
||||
* Remove all tags
|
||||
* Remove all quality profiles
|
||||
* Change the status to `deprecated`
|
||||
* Fill in the `replacementRules` field with the rules that deprecate this one, if any
|
||||
* Fill in the `replacementRules` array with strings in the form `"RSPEC-xxxx"` with the rules that deprecate this one, if any
|
||||
|
||||
See link:rules/S1212/metadata.json[S1212] for an example.
|
||||
|
||||
==== To delete a rule
|
||||
If the rule has never been implemented and is still defined in an open pull request, just close the pull request. +
|
||||
|
Loading…
x
Reference in New Issue
Block a user