-
Notifications
You must be signed in to change notification settings - Fork 234
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 no-restricted-jest-methods
rule
#1257
Conversation
That was quick. Thanks! |
fe5ba1f
to
04354cb
Compare
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.
great stuff - very clean implementation 👍
# [27.1.0](v27.0.4...v27.1.0) (2022-10-03) ### Features * create `no-restricted-jest-methods` rule ([#1257](#1257)) ([b8e61b1](b8e61b1))
## Rule details | ||
|
||
This rule checks for the usage of specific methods on the `jest` object, which | ||
can be used to disallow curtain patterns such as spies and mocks. |
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.
just for my non native speaker understanding - are we really talking about curtain patterns
here or is this a typo of certain patterns
?
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.
typo 😀
wanna send a PR fixing it?
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.
More than happy to, coming right up
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.
Resolves #1256