Upgraded linter to 1.40.1 (#1072)

* tools: upgraded linter to 1.40.1

* lint: fixed nolintlint vionlations

* lint: disabled tagliatele linter

* lint: fixed remaining warnings
This commit is contained in:
Jarek Kowalski authored and GitHub committed 2021-05-15 12:12:34 -07:00
1 parent fcd507a56d
commit 30ca3e2e6c
138 files changed
+266 -70

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ func (c *commandBenchmarkCompression) run(ctx context.Context) error {
func hashOf(b []byte) uint64 {
h := fnv.New64a()
h.Write(b) //nolint:errcheck
h.Write(b)
return h.Sum64()
}