errata-ai / Google

A Vale-compatible implementation of the Google Developer Documentation Style Guide.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with AKA rule in Wordlist

danielhspang opened this issue · comments

We're seeing the following error when running Vale from our github action

 /bin/vale install Google https://github.com/errata-ai/Google/releases/latest/download/Google.zip
/bin/vale install proselint https://github.com/errata-ai/proselint/releases/latest/download/proselint.zip
Error: {
  "Line": 28,
  "Path": "/github/workspace/.github/styles/Google/WordList.yml",
  "Text": "capture group not supported; use '(?:' instead of '('",
  "Code": "E201",
  "Span": 3
}

It seems the AKA rule added in #23 is causing this issue. Using an older version of Google styles (i.e. https://github.com/errata-ai/Google/releases/download/v0.3.3/Google.zip) fixed the issue for us (as it does not have the AKA rule) but we would no longer receive the latest Google style updates.

We are using errata-ai/vale-action@v1.4.2

Should be fixed now.