fix: golangci-lint and gosec warnings

This commit is contained in:
volker.raschek committed 2021-05-26 19:47:15 +02:00
1 parent f7bb283784
commit ffbc8a793c
22 files changed
+228 -157

No files matched your search

+12
View File
@@ -103,6 +103,18 @@ PHONY+=test/coverage
test/coverage: test/unit
go tool cover -html=coverage.txt
# GOLANGCI-LINT
# ==============================================================================
PHONY+=golangci-lint
golangci-lint:
golangci-lint run --concurrency=$(shell nproc)
# GOSEC
# ==============================================================================
PHONY+=gosec
gosec:
gosec $(shell pwd)/...
# PHONY
# ==============================================================================
# Declare the contents of the PHONY variable as phony. We keep that information