-
Notifications
You must be signed in to change notification settings - Fork 238
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: create max-expects
rule
#1166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - got a few tweaks to make, and we need a few more test cases to get full coverage e.g. used with describe
, multiple test
blocks in the same "file", and one with test.each
would probably good too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work!
# [26.6.0](v26.5.3...v26.6.0) (2022-07-14) ### Features * create `max-expects` rule ([#1166](#1166)) ([5b6fd20](5b6fd20))
🎉 This PR is included in version 26.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #1163.
I have added the new rules proposed in #1163. The default value of
max
option is the same value as in eslint-plugin-ava.