diff --git a/testdata/text.md b/testdata/text.md index 7d27c68..c1d0d29 100644 --- a/testdata/text.md +++ b/testdata/text.md @@ -1,4 +1,4 @@ -Determinisitic result is important! +Determinisitic result is important. colour # <= Check -locale @@ -8,4 +8,4 @@ varius A abd B -It SHOUL be A +It SHOUL be A! diff --git a/to-rdjsonl.jq b/to-rdjsonl.jq index db9c116..ba8844b 100644 --- a/to-rdjsonl.jq +++ b/to-rdjsonl.jq @@ -1,7 +1,7 @@ . as $item | if .type == "typo" then { - "message": ("Typo: " + .typo + " -> " + (.corrections | join(", "))), + "message": ("`" + .typo + "` should be `" + (.corrections | join("`, `")) + "`"), "location": { "path": .path, "range": {