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

feat: restrict threshold/ranking type to known values #122

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

levenleven
Copy link
Contributor

What: Restrict threshold/ranking type to known values (rankings)

Why: To encourage users to use predefined rankings

How: Ranking type was extracted from rankings enum

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged

@codecov
Copy link

codecov bot commented Feb 1, 2021

Codecov Report

Merging #122 (30995f7) into main (ebc9f99) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #122   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          163       163           
  Branches        38        38           
=========================================
  Hits           163       163           
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebc9f99...30995f7. Read the comment docs.

Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great change. Thanks!

@kentcdodds kentcdodds merged commit 01fe272 into kentcdodds:main Feb 1, 2021
@kentcdodds
Copy link
Owner

@all-contributors please add @levenleven for code

@allcontributors
Copy link
Contributor

@kentcdodds

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

@github-actions
Copy link

github-actions bot commented Feb 1, 2021

🎉 This PR is included in version 6.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants