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

Catch assert usage over require #278

Open
flowirtz opened this issue Jul 30, 2024 — with Linear · 0 comments
Open

Catch assert usage over require #278

flowirtz opened this issue Jul 30, 2024 — with Linear · 0 comments

Comments

Copy link
Contributor

Set up Semgrep, and add this custom rule to it: https://semgrep.dev/playground/s/0oNnr

We frequently use assert over require in tests and it gets flagged as part of manual code review. That should be automated instead.

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

No branches or pull requests

1 participant