Skip to content

Test vale on Pull Request. #69

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
18 changes: 8 additions & 10 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
StylesPath = .github/styles
#MinAlertLevel = suggestion
minAlertLevel = suggestion

#IgnoredScopes = code, tt, img, url, a, body.id
IgnoredScopes = code, tt, img, url, a, body.id

#SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, literalblock
SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, literalblock

#Packages = RedHat
Packages = https://github.com/riscv-admin/riscv-vale/releases/latest/download/riscv.zip
Packages = https://github.com/riscv-admin/riscv-vale/releases/latest/download/config.zip
#Vocab = riscv-vocab
Packages = RedHat, AsciiDoc, https://github.com/riscv-admin/riscv-vale/releases/latest/download/riscv.zip, https://github.com/riscv-admin/riscv-vale/releases/latest/download/config.zip
Vocab = riscv-vocab

#[*.adoc]
#BasedOnStyles = Vale, RISCV-Vale, AsciiDoc
[*.adoc]
BasedOnStyles = Vale, RedHat, riscv, AsciiDoc

#[*.md]
#BasedOnStyles = Vale, RISCV-Vale, AsciiDoc

# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs.
#TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[)
TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[)

# Match INI files. See: https://docs.errata.ai/vale/scoping
#[*.ini]
Expand Down
3 changes: 3 additions & 0 deletions src/a_few_basics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
== AsciiDoc basics

pseudoinstruction
pseudo-instruction

Check failure on line 5 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L5

[Vale.Avoid] Avoid using 'pseudo-instruction'.
Raw output
{"message": "[Vale.Avoid] Avoid using 'pseudo-instruction'.", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 5, "column": 1}}}, "severity": "ERROR"}

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Avoid] Avoid using 'pseudo-instruction'.

CSr

Check failure on line 6 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L6

[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.
Raw output
{"message": "[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 6, "column": 1}}}, "severity": "ERROR"}

Check failure on line 6 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L6

[Vale.Spelling] Did you really mean 'CSr'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'CSr'?", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 6, "column": 1}}}, "severity": "ERROR"}

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'CSr'?

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[RedHat.Spelling] Verify the word 'CSr'. It is not in the American English spelling dictionary used by Vale.

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[riscv.SpellingRV] Verify the word 'CSr'. It is not in the American English spelling dictionary used by Vale.

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[RedHat.PascalCamelCase] Consider wrapping this Pascal or Camel case term ('CSr') in backticks.

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.

vsr

Check failure on line 7 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L7

[Vale.Spelling] Did you really mean 'vsr'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'vsr'?", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 7, "column": 1}}}, "severity": "ERROR"}

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'vsr'?

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[RedHat.Spelling] Verify the word 'vsr'. It is not in the American English spelling dictionary used by Vale.

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[riscv.SpellingRV] Verify the word 'vsr'. It is not in the American English spelling dictionary used by Vale.

csr

Check failure on line 8 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L8

[Vale.Spelling] Did you really mean 'csr'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'csr'?", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 8, "column": 1}}}, "severity": "ERROR"}

Check failure on line 8 in src/a_few_basics.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] src/a_few_basics.adoc#L8

[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.
Raw output
{"message": "[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.", "location": {"path": "src/a_few_basics.adoc", "range": {"start": {"line": 8, "column": 1}}}, "severity": "ERROR"}

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'csr'?

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[riscv.SpellingRV] Verify the word 'csr'. It is not in the American English spelling dictionary used by Vale.

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[RedHat.Spelling] Verify the word 'csr'. It is not in the American English spelling dictionary used by Vale.

Choose a reason for hiding this comment

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

🚫 [vale] reported by reviewdog 🐶
[riscv.CapitalizeCSR] The acronym CSR must always be capitalized.


AsciiDoc is fully documented, and its documentation is actively maintained. This document contains some information on AsciiDoc markup to get you started.

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[RedHat.SimpleWords] Use simple language. Consider using 'has' rather than 'contains'.

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[RedHat.TermsSuggestions] Depending on the context, consider using 'information about' rather than 'information on'.


Expand Down