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

Add --max-errors command line option #291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

justinvos
Copy link

Adds the ability for users to set a maximum number of errors before the process fails (non-zero exit code).

This is similar to ESLint's max-warnings option. https://www.eslint.com.cn/docs/2.0.0/user-guide/command-line-interface#--max-warnings

My team has recently adopted gherkin-lint and has a lot of errors. Rather than disabling rules or allowing our CI builds to pass on any amount of gherkin-lint errors, --max-errors enables us to iteratively fix errors and lower our maximum over time.

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

Successfully merging this pull request may close these issues.

None yet

1 participant