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

Support additional arguments #238

Merged
merged 4 commits into from
Jan 14, 2025
Merged

Support additional arguments #238

merged 4 commits into from
Jan 14, 2025

Conversation

swissspidy
Copy link
Member

Adds a ton of new arguments to align with what the WP-CLI command now supports:

Fixes #184

Fixes #229

@swissspidy swissspidy merged commit 5e7ce6e into main Jan 14, 2025
2 checks passed
@marekdedic
Copy link

Thanks! Is there any place these are documented? For example, I have no idea what severity means and what are the accepted values...

@swissspidy
Copy link
Member Author

If anything that would be in the main Plugin Check repository. Each warning or error has a severity from 1 (lowest) to 10 (highest). So if you pass a number in that range, you can exclude any results below that threshold.

@swissspidy swissspidy deleted the additional-args branch January 14, 2025 16:21
@marekdedic
Copy link

Yeah, I've looked there but didn't really find nothing... Like, what's the default, etc. I don't really want to dig in the source code if possible...

@swissspidy
Copy link
Member Author

By default there's no severity threshold, all results are shown.

Feel free to open an issue on the other repo to suggest docs improvements

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.

Add an option to convert warnings to errors Allow setting textdomain manually
2 participants