mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:54:09 -04:00
chore(lint): bump to v1.50.1 and add linters
- `dupword` linter - `paralleltest` linter
This commit is contained in:
@@ -18,6 +18,7 @@ issues:
|
||||
linters:
|
||||
- containedctx
|
||||
- dupl
|
||||
- dupword
|
||||
- goerr113
|
||||
|
||||
linters:
|
||||
@@ -30,6 +31,7 @@ linters:
|
||||
- decorder
|
||||
- dogsled
|
||||
- dupl
|
||||
- dupword
|
||||
- durationcheck
|
||||
- errchkjson
|
||||
- errname
|
||||
@@ -46,13 +48,13 @@ linters:
|
||||
- gocritic
|
||||
- gocyclo
|
||||
- godot
|
||||
- goerr113
|
||||
- goheader
|
||||
- goimports
|
||||
- gomnd
|
||||
- gomoddirectives
|
||||
- goprintffuncname
|
||||
- gosec
|
||||
- goerr113
|
||||
- grouper
|
||||
- importas
|
||||
- interfacebloat
|
||||
@@ -68,13 +70,13 @@ linters:
|
||||
- noctx
|
||||
- nolintlint
|
||||
- nosprintfhostport
|
||||
- paralleltest
|
||||
- prealloc
|
||||
- predeclared
|
||||
- promlinter
|
||||
- reassign
|
||||
- revive
|
||||
- rowserrcheck
|
||||
- exportloopref
|
||||
- sqlclosecheck
|
||||
- tenv
|
||||
- thelper
|
||||
|
||||
@@ -2,7 +2,7 @@ ARG BUILDPLATFORM=linux/amd64
|
||||
ARG ALPINE_VERSION=3.16
|
||||
ARG GO_VERSION=1.19
|
||||
ARG XCPUTRANSLATE_VERSION=v0.6.0
|
||||
ARG GOLANGCI_LINT_VERSION=v1.49.0
|
||||
ARG GOLANGCI_LINT_VERSION=v1.50.1
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} qmcgaw/xcputranslate:${XCPUTRANSLATE_VERSION} AS xcputranslate
|
||||
FROM --platform=${BUILDPLATFORM} qmcgaw/binpot:golangci-lint-${GOLANGCI_LINT_VERSION} AS golangci-lint
|
||||
|
||||
Reference in New Issue
Block a user