go-graphite / carbonapi

Implementation of graphite API (graphite-web) in golang
Other
308 stars 140 forks source link

[FR] Utilize semgrep to check for common problems #688

Open Civil opened 2 years ago

Civil commented 2 years ago

Based on a change: https://github.com/go-graphite/carbonapi/pull/686/files/4ae1e1f736fd004f24ee397c419245e520edfeac

It seems that it's worth to use semgrep to check that we copy metric before changing the tags (and maybe for some other problems).

That should reduce cognitive load on a reviewer.