chore(ci): upgraded linter to 1.53.3 (#3079)

* chore(ci): upgraded linter to 1.53.3

This flagged a bunch of unused parameters, so the PR is larger than
usual, but 99% mechanical.

* separate lint CI task

* run Lint in separate CI
This commit is contained in:
Jarek Kowalski authored and GitHub committed 2023-06-18 13:26:01 -07:00
1 parent 8eb3893738
commit cbc66f936d
103 files changed
+332 -132

No files matched your search

+1 -1
View File
@@ -292,7 +292,7 @@ func downloadFile(ctx context.Context, f fs.File, fname string) error {
return errors.Wrap(err, "error creating file to edit")
}
defer dst.Close() //nolint:errcheck,gosec
defer dst.Close() //nolint:errcheck
return errors.Wrap(iocopy.JustCopy(dst, src), "error downloading file")
}