Skip to content

Commit

Permalink
expanding missing-assignment rule
Browse files Browse the repository at this point in the history
  • Loading branch information
beched committed Jul 1, 2024
1 parent cb297c3 commit 790f9a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solidity/security/missing-assignment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ rules:
#- pattern-not: function $NAME($ARGS) virtual {} # doesn't work
- pattern-not: | # let's not match empty function bodies
{}
- pattern-not: | # let's not match empty constructors
constructor(...){}
- metavariable-regex:
metavariable: $X
regex: "^\\S+$"
Expand Down

0 comments on commit 790f9a9

Please sign in to comment.