Skip to content

Commit

Permalink
Fix the golangci-lint config (vitessio#11812)
Browse files Browse the repository at this point in the history
There's a bunch of deprecated linters that don't work anymore, so let's
remove them:

```
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the golangci/golangci-lint#2649.
```

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
  • Loading branch information
dbussink authored and timvaillancourt committed Mar 15, 2024
1 parent 944df4d commit 44710f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Expand Up @@ -42,10 +42,6 @@ issues:
- errcheck
- goimports

- path: '^go/vt/vtadmin/cache/'
linters:
- structcheck

### BEGIN: errcheck exclusion rules. Each rule should be considered
# a TODO for removal after adding error checks to that package/file/etc,
# except where otherwise noted.
Expand Down

0 comments on commit 44710f9

Please sign in to comment.