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

Allow for reporting levels to be set: error, warning, notice #74

Closed
andrewholgate opened this issue May 24, 2015 · 3 comments
Closed

Allow for reporting levels to be set: error, warning, notice #74

andrewholgate opened this issue May 24, 2015 · 3 comments

Comments

@andrewholgate
Copy link

Great tool, very good implementation of HTML Code Sniffer!

For CI integration, it would be very useful to be able to specify the reporting level, eg.

0 - error & warning & notice
1 - error & warning
2 - error

With 0 being the default.

In our case, this would allow CI testing to halt a build if an error is found in the WCAG standard but allow the build to continue if only warnings and notices are present.

@rowanmanning
Copy link
Member

Hi @andrewholgate, this has made it into pa11y 2.0 which is due to be released soon. You can read up here. Does this suit your needs?

@andrewholgate
Copy link
Author

Perfect, the configurable --level flag will fit my use-case perfectly. Thanks!

A working link for the README should be: https://github.com/nature/pa11y/blob/2.0.0/README.md

@andrewholgate
Copy link
Author

I just installed and used v2.1.0, very impressive! Thanks for your great work.

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

2 participants