-
Notifications
You must be signed in to change notification settings - Fork 148
[prefer-explicit-assert] Incomplete expect statement causes TypeError #475
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
Comments
Hey @DaJoTo thanks for reporting this issue! Should be an easy one to fix, I think I can take a look during the weekend. |
3 tasks
🎉 This issue has been resolved in version 4.12.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@all-contributors please add @DaJoTo for bug |
I've put up a pull request to add @DaJoTo! 🎉 |
@Belco90 awesome that you got that patched so quickly. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Plugin version
4.12.2
ESLint version
7.32.0
Node.js version
15.11.0
npm/yarn version
yarn 1.22.10
Operating system
macOS Big Sur, version 11.6
Bug description
Leaving an incomplete expect statement with the
prefer-explict-assert
rule active breaks the linter.Steps to reproduce
prefer-explicit-assert
rule to be activeexpect('something');
TypeError
Error output/screenshots
ESLint configuration
Rule(s) affected
prefer-explicit-assert
Anything else?
No response
Do you want to submit a pull request to fix this bug?
Yes, but need help
The text was updated successfully, but these errors were encountered: