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

Issue when "Readability" rule is used #42

Open
amthorn opened this issue Sep 1, 2021 · 1 comment
Open

Issue when "Readability" rule is used #42

amthorn opened this issue Sep 1, 2021 · 1 comment
Labels
question Further information is requested

Comments

@amthorn
Copy link

amthorn commented Sep 1, 2021

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
Copy link
Member

jdkato commented Oct 14, 2021

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?

@jdkato jdkato added the question Further information is requested label Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants