Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix messages #3

Merged
merged 2 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testdata/text.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Determinisitic result is important!
Determinisitic result is important.

Check notice on line 1 in testdata/text.md

View workflow job for this annotation

GitHub Actions / typos

[typos] testdata/text.md#L1

`Determinisitic` should be `Deterministic`
Raw output
{"message":"`Determinisitic` should be `Deterministic`","location":{"path":"./testdata/text.md","range":{"start":{"line":1,"column":1},"end":{"line":1,"column":15}}},"suggestions":[{"text":"Deterministic","range":{"start":{"line":1,"column":1},"end":{"line":1,"column":15}}}]}

Check warning on line 1 in testdata/text.md

View workflow job for this annotation

GitHub Actions / misspell

[misspell] testdata/text.md#L1

"Determinisitic" is a misspelling of "Deterministic"
Raw output
./testdata/text.md:1:0: "Determinisitic" is a misspelling of "Deterministic"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[typos] reported by reviewdog 🐶
Determinisitic should be Deterministic

Suggested change
Determinisitic result is important.
Deterministic result is important.


colour # <= Check -locale

langauge

Check failure on line 5 in testdata/text.md

View workflow job for this annotation

GitHub Actions / runner / typos (github-pr-review)

[typos] reported by reviewdog 🐶 `langauge` should be `language` Raw Output: {"message":"`langauge` should be `language`","location":{"path":"./testdata/text.md","range":{"start":{"line":5,"column":1},"end":{"line":5,"column":9}}},"suggestions":[{"text":"language","range":{"start":{"line":5,"column":1},"end":{"line":5,"column":9}}}]}

varius

Check failure on line 7 in testdata/text.md

View workflow job for this annotation

GitHub Actions / runner / typos (github-pr-review)

[typos] reported by reviewdog 🐶 `varius` should be `various` Raw Output: {"message":"`varius` should be `various`","location":{"path":"./testdata/text.md","range":{"start":{"line":7,"column":1},"end":{"line":7,"column":7}}},"suggestions":[{"text":"various","range":{"start":{"line":7,"column":1},"end":{"line":7,"column":7}}}]}

A abd B
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[typos] reported by reviewdog 🐶
abd should be and

Suggested change
A abd B
A and B


It SHOUL be A
It SHOUL be A!

Check notice on line 11 in testdata/text.md

View workflow job for this annotation

GitHub Actions / typos

[typos] testdata/text.md#L11

`SHOUL` should be `SHOULD`, `SHAWL`, `SHOAL`
Raw output
{"message":"`SHOUL` should be `SHOULD`, `SHAWL`, `SHOAL`","location":{"path":"./testdata/text.md","range":{"start":{"line":11,"column":4},"end":{"line":11,"column":9}}},"suggestions":[{"text":"SHOULD","range":{"start":{"line":11,"column":4},"end":{"line":11,"column":9}}},{"text":"SHAWL","range":{"start":{"line":11,"column":4},"end":{"line":11,"column":9}}},{"text":"SHOAL","range":{"start":{"line":11,"column":4},"end":{"line":11,"column":9}}}]}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[typos] reported by reviewdog 🐶
SHOUL should be SHOULD, SHAWL, SHOAL

Suggested change
It SHOUL be A!
It SHOULD be A!
Suggested change
It SHOUL be A!
It SHAWL be A!
Suggested change
It SHOUL be A!
It SHOAL be A!

2 changes: 1 addition & 1 deletion to-rdjsonl.jq
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading