7e0abe3c7e
* add semgrep yml * add semgrep ci job * remove replication semgrep rule in oss * fix makefile * add semgrep to ci * upwind triple if in ui.go semgrep refactoring
10 lines
210 B
YAML
10 lines
210 B
YAML
rules:
|
|
- id: self-equals
|
|
patterns:
|
|
- pattern-either:
|
|
- pattern: $X == $X
|
|
- pattern: $X != $X
|
|
message: "Comparing with self"
|
|
languages: [go]
|
|
severity: ERROR
|