Skip to content

fix(prefer-explicit-assert): check property existence #476

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

Merged
merged 5 commits into from
Sep 19, 2021

Conversation

Belco90
Copy link
Member

@Belco90 Belco90 commented Sep 19, 2021

Checks

  • I have read the contributing guidelines.
  • If some rule is added/updated/removed, I've regenerated the rules list.
  • If some rule meta info is changed, I've regenerated the plugin shared configs.

Changes

  • Check some properties' existence instead of just assuming they always exist.

Context

Fixes #475

@Belco90 Belco90 self-assigned this Sep 19, 2021
@Belco90 Belco90 merged commit 1949a93 into main Sep 19, 2021
@Belco90 Belco90 deleted the issue-475_incomplete-expect-statement branch September 19, 2021 21:56
@github-actions
Copy link

🎉 This PR is included in version 4.12.3 🎉

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.

[prefer-explicit-assert] Incomplete expect statement causes TypeError
2 participants