diff --git a/.vale.ini b/.vale.ini index 4b6b83b..a3c4590 100644 --- a/.vale.ini +++ b/.vale.ini @@ -24,6 +24,8 @@ IgnoredScopes = code, tt, img, url, a, body.id # For AsciiDoc: by default, listingblock, and literalblock. SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, literalblock +Packages = RedHat + [formats] # Associate `*.properties` files with the `md` format properties = md diff --git a/.vale/styles/RedHat/Abbreviations.yml b/.vale/styles/RedHat/Abbreviations.yml index a2eec98..102fee4 100644 --- a/.vale/styles/RedHat/Abbreviations.yml +++ b/.vale/styles/RedHat/Abbreviations.yml @@ -4,6 +4,6 @@ level: error link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/abbreviations/ message: "Do not use periods in all-uppercase abbreviations such as '%s'." nonword: true -source: "IBM - Periods with abbreviations, p. 5" +# source: "IBM - Periods with abbreviations, p. 5" tokens: - '\b(?:[A-Z]\.){3,5}' diff --git a/.vale/styles/RedHat/CaseSensitiveTerms.yml b/.vale/styles/RedHat/CaseSensitiveTerms.yml index dc71706..4482a1e 100644 --- a/.vale/styles/RedHat/CaseSensitiveTerms.yml +++ b/.vale/styles/RedHat/CaseSensitiveTerms.yml @@ -4,40 +4,117 @@ ignorecase: false level: error link: https://redhat-documentation.github.io/vale-at-red-hat/docs/reference-guide/casesensitiveterms/ message: Use '%s' rather than '%s'. -source: "https://redhat-documentation.github.io/supplementary-style-guide/#glossary-terms-conventions" +# source: "https://redhat-documentation.github.io/supplementary-style-guide/#glossary-terms-conventions" action: name: replace swap: - asciidoc|Asciidoc: AsciiDoc - asciidoctor|AsciiDoctor: Asciidoctor - '[nN]odejs|[nN]ode\.JS|node\.js': Node.js + "(?