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
2023-06-18 13:26:01 -07:00
committed by GitHub
parent 8eb3893738
commit cbc66f936d
103 changed files with 332 additions and 132 deletions

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")
}