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

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

Open
johnhamelink opened this issue Aug 6, 2022 · 0 comments

Comments

@johnhamelink
Copy link

❯ 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.
@johnhamelink johnhamelink changed the title write-good suggestions show up for words detected within compound words write-good rules are triggered for words detected within compound words Aug 6, 2022
@jdkato jdkato transferred this issue from errata-ai/vale Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant