errata-ai / Google

A Vale-compatible implementation of the Google Developer Documentation Style Guide.
MIT License
69 stars 23 forks source link

Issue with AKA rule in Wordlist #29

Closed danielhspang closed 1 year ago

danielhspang commented 1 year ago

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 https://github.com/errata-ai/Google/pull/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

jdkato commented 1 year ago

Should be fixed now.