Skip to content

Commit

Permalink
typos.yaml: remove explicit variable false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Oct 10, 2023
1 parent 0e7b986 commit fbc129f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/semgrep_rules/client/typos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ rules:
- pattern-not-inside: if (<... ($EXPR1 = $EXPR2) <= $EXPR ...>) ...
- pattern-not-inside: if (<... ($EXPR1 = $EXPR2) > $EXPR ...>) ...
- pattern-not-inside: if (<... ($EXPR1 = $EXPR2) >= $EXPR ...>) ...
- pattern-not-regex: "\\(\\s*[_a-zA-Z][_a-zA-Z0-9]{0,30}\\**\\s+\\**[_a-zA-Z][_a-zA-Z0-9]{0,30}\\s*="
# REMOVED: False Positive on Chrome, & instead of && in comparison
# - patterns:
# - pattern: if (<... $EXPR1 & $EXPR2 ...>) ...
Expand Down

0 comments on commit fbc129f

Please sign in to comment.