errata-ai / vale-action

:octocat: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
MIT License
194 stars 45 forks source link

Issue when "Readability" rule is used #42

Open amthorn opened 3 years ago

amthorn commented 3 years ago

When a "Readability" rule is used within a pipeline, i get the following error:

Screen Shot 2021-09-01 at 12 12 50 AM Screen Shot 2021-09-01 at 12 13 16 AM

The readability rule file is defined below:

extends: readability
message: "Grade level (%s) too high!"
level: warning
grade: 14
metrics:
  # - Flesch-Kincaid
  # - Gunning Fog
  - Coleman-Liau
  # - Automated Readability

It appears when i remove this file, everything works as expected. My config file looks like this:

StylesPath = .github/styles
MinAlertLevel = suggestion

[*.{md,txt}]
BasedOnStyles = Google
jdkato commented 2 years ago

Sorry for the delayed response.

I'm currently unable to reproduce this. I'm also not sure that I understand your configuration: Is the Google style custom-made, or edited to include the readability rule?