Skip to content

write-good rules are triggered for words detected within compound words #8

Description

@johnhamelink
❯ vale --version
vale version "2.20.1"

vale ls-config:

{
  "BlockIgnores": {
    "*.md": [
      "(?sm)^({{[%\u003c] [^{]*? [%\u003e]}})\\n$",
      "(?s) *({{\u003c highlight [^\u003e]* ?\u003e}}.*?{{\u003c ?/ ?highlight \u003e}})"
    ]
  },
  "Checks": null,
  "Formats": {
    "ex": "md",
    "exs": "md"
  },
  "Asciidoctor": {},
  "FormatToLang": {},
  "GBaseStyles": null,
  "GChecks": {},
  "IgnoredClasses": null,
  "IgnoredScopes": null,
  "MinAlertLevel": 0,
  "Vocab": [
    "base"
  ],
  "RuleToLevel": {},
  "SBaseStyles": {
    "*.{txt,org,md}": [
      "Vale",
      "write-good",
      "proselint",
      "alex",
      "Joblint"
    ]
  },
  "SChecks": {
    "*.md": {},
    "*.{txt,org,md}": {}
  },
  "SkippedScopes": null,
  "Stylesheets": {},
  "StylesPath": "/home/john/.config/vale/styles",
  "TokenIgnores": {
    "*.md": [
      "({{[%\u003c] .* [%\u003e]}}.*?{{[%\u003c] ?/.* [%\u003e]}})",
      "(\\[.+\\]\\({{\u003c .+ \u003e}}\\))"
    ]
  },
  "WordTemplate": "",
  "DictionaryPath": "",
  "NLPEndpoint": ""
}
echo "And cares are different from yours. And yes! I made sure you knew it," | vale

 stdin.txt
 1:11  suggestion  Try to avoid using 'are'.  write-good.E-Prime 

✔ 0 errors, 0 warnings and 1 suggestion in stdin.

❯ echo "And snares are different from yours. And yes! I made sure you knew it," | vale

 stdin.txt
 1:12  suggestion  Try to avoid using 'are'.  write-good.E-Prime 

✔ 0 errors, 0 warnings and 1 suggestion in stdin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions