some refinement
This commit is contained in:
1 parent
89e1db8edf
commit
0ed1cb4355
14 files changed
+390
-104
No files matched your search
@@ -6,3 +6,13 @@ lint:
|
||||
|
||||
install-lint:
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
|
||||
fix:
|
||||
golangci-lint run --fix ./...
|
||||
|
||||
semgrep:
|
||||
@which semgrep > /dev/null || (echo "semgrep not found, please install it: brew install semgrep")
|
||||
semgrep scan --config auto --config semgrep-rules.yml
|
||||
|
||||
semgrep-ci:
|
||||
semgrep scan --config auto --config semgrep-rules.yml --error
|
||||
Reference in new issue
Block a user