Rules:
- ✅ Security relevant patterns only
- ❌ No performance, micro optimizations and other noise
Rulesets:
- Solidity
- MetaMask Snaps - Hover Info
⇒ rules - 👈🚀 Is the active ruleset. Be smart, use this ☝️
⇒ _dev - 🧑🔬💥 Experimental rules. Would not use.
tintin@:~/workspace/solidity/project-under-audit|⇒ semgrep --exclude="**mock**,**test**" --severity=WARNING --severity=ERROR -c /path_to_this_repo/rules .
main-vs-code-video.mp4
- install https://marketplace.visualstudio.com/items?itemName=Semgrep.semgrep
- configure:
semgrep.scan.exclude
👉**/node_modules/**
,**test**
,**mock**
semgrep.scan.configuration
👉auto
,/path_to_this_repo/rules
Contribute, share! 🤗❤️