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

@@ -30,7 +30,7 @@ func (c *commandCacheInfo) setup(svc appServices, parent commandParent) {
c.out.setup(svc)
}
func (c *commandCacheInfo) run(ctx context.Context, rep repo.Repository) error {
func (c *commandCacheInfo) run(ctx context.Context, _ repo.Repository) error {
opts, err := repo.GetCachingOptions(ctx, c.svc.repositoryConfigFileName())
if err != nil {
return errors.Wrap(err, "error getting cache options")