mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
Use golangci-lint to check everything
Now that this issue is fixed: https://github.com/golangci/golangci-lint/issues/204 We can use golangci-lint to check the printfuncs too.
This commit is contained in:
parent
2763598bd1
commit
81f8a5e0d9
3
Makefile
3
Makefile
|
@ -61,10 +61,7 @@ racequicktest:
|
|||
|
||||
# Do source code quality checks
|
||||
check: rclone
|
||||
@# we still run go vet for -printfuncs which golangci-lint doesn't do yet
|
||||
@# see: https://github.com/golangci/golangci-lint/issues/204
|
||||
@echo "-- START CODE QUALITY REPORT -------------------------------"
|
||||
@go vet $(BUILDTAGS) -printfuncs Debugf,Infof,Logf,Errorf ./...
|
||||
@golangci-lint run $(LINTTAGS) ./...
|
||||
@echo "-- END CODE QUALITY REPORT ---------------------------------"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user