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 (#101)
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. Co-authored-by: wenjiefan <wenjiefan@microsoft.com>
This commit is contained in:
parent
0bb1065bc3
commit
be1b92b624
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ Output conforms to the DO output contract. A populated example:
|
|||
},
|
||||
"findings": [
|
||||
{
|
||||
"id": "microsoft/knowledge/style/apply-approved-label-suffixes.md",
|
||||
"id": "microsoft/knowledge/style/label-suffix-approved-list.md",
|
||||
"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.",
|
||||
"location": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue