RULEAPI-602 Describe the procedure of deprecating a rule
This commit is contained in:
parent
0152ebc324
commit
68900c9066
15
README.adoc
15
README.adoc
@ -55,6 +55,21 @@ In the subject add the following text:
|
||||
Modify rule Sxxxx
|
||||
----
|
||||
|
||||
==== To deprecate a rule
|
||||
Create a branch for the deprecation manually.
|
||||
Then open a pull request manually.
|
||||
In the subject add the following text:
|
||||
----
|
||||
Deprecate rule Sxxxx
|
||||
----
|
||||
|
||||
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
|
||||
|
||||
NOTE: use a GitHub hot-key `t` in the source view to navigate to an existing rule specification.
|
||||
|
||||
=== 2. Edit the pull request
|
||||
|
Loading…
x
Reference in New Issue
Block a user