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

Badge Color Config #91

Merged
merged 3 commits into from
May 4, 2024
Merged

Conversation

Ic3m4n34
Copy link
Contributor

@Ic3m4n34 Ic3m4n34 commented May 2, 2024

I need to change the thresholds of the badge color. I've added an argument to do so.

Configure Badge Color

  • You can configure the color threshold of the badges by passing the --colors argument. If you want red badges for a code coverage below 50% and yellow badges for a coverage below 60%, you'd do this:
  npm run istanbul-badges-readme --colors=red:50,yellow:60

@olavoparno
Copy link
Member

@Ic3m4n34 thank you so much for opening this PR. I will merge, review and publish a new version as soon as I can.

@all-contributors please add @Ic3m4n34 as code and idea

Copy link
Contributor

@olavoparno

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

I've put up a pull request to add @Ic3m4n34! 🎉

@olavoparno olavoparno merged commit 6fc646b into the-bugging:develop May 4, 2024
@olavoparno
Copy link
Member

@Ic3m4n34 again thank you I can't stress enough how much I appreciate your contribution.

Can you test out version 1.9.0?

@Ic3m4n34
Copy link
Contributor Author

Ic3m4n34 commented May 5, 2024

Works as intended with version 1.9.0

Thank you 🙏

@olavoparno
Copy link
Member

Thank you! Have a great week!

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.

2 participants