mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 09:26:52 +01:00
style-review: fix example finding id to match references[0].path
The al-style-review worked example set findings[0].id to a non-existent knowledge file (apply-approved-label-suffixes.md) while references[0].path points to the real file (label-suffix-approved-list.md). The DO output contract requires id to equal references[0].path for citation-based findings. Align id to the existing file.
This commit is contained in:
parent
0bb1065bc3
commit
fab5b81027
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ Output conforms to the DO output contract. A populated example:
|
||||||
},
|
},
|
||||||
"findings": [
|
"findings": [
|
||||||
{
|
{
|
||||||
"id": "microsoft/knowledge/style/apply-approved-label-suffixes.md",
|
"id": "microsoft/knowledge/style/label-suffix-approved-list.md",
|
||||||
"severity": "info",
|
"severity": "info",
|
||||||
"message": "A Label named Text000 has no approved suffix (Msg/Err/Qst/Tok/Lbl/Txt). Per the referenced CodeCop AA0074 guidance, every Label and TextConst carries a suffix indicating its consuming call.",
|
"message": "A Label named Text000 has no approved suffix (Msg/Err/Qst/Tok/Lbl/Txt). Per the referenced CodeCop AA0074 guidance, every Label and TextConst carries a suffix indicating its consuming call.",
|
||||||
"location": {
|
"location": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue