Skip to content
Snippets Groups Projects
Commit 57d68001dd2c authored by Florent Aide's avatar Florent Aide
Browse files

bump golanci-lint to 1.49.0

parent f49be89922cd
No related branches found
No related tags found
No related merge requests found
Pipeline #41579 passed
......@@ -5,9 +5,9 @@
disable-all: true
enable:
# enable by default linters
- deadcode
#- deadcode (replaced by unused)
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
......@@ -9,8 +9,8 @@
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
#- structcheck (replaced by unused)
- typecheck
- unused
......@@ -15,6 +15,6 @@
- typecheck
- unused
- varcheck
#- varcheck (replaced by unused)
# extra linters
- asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers
......@@ -67,7 +67,7 @@
# - gomodguard # Allow and block list linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations. style, import, module v1.25.0
# - goprintffuncname # Checks that printf-like functions are named with f at the end style v1.23.0
- gosec # Inspects source code for security problems bugs v1.0.0
- ifshort # Checks that your code uses short syntax for if-statements whenever possible style v1.36.0
# - ifshort # Checks that your code uses short syntax for if-statements whenever possible style v1.36.0 (deprecated since 1.48)
# - importas # Enforces consistent import aliases style v1.38.0
# - interfacer ⚠ # The repository of the linter has been archived by the owner. style v1.0.0
# - ireturn # Accept Interfaces, Return Concrete Types style v1.43.0
......
......@@ -12,7 +12,7 @@
vars:
EXE: beaver{{exeExt}}
OUTPUT: "build/{{.EXE}}"
GOLANGCI_LINT_VERSION: v1.44.0
GOLANGCI_LINT_VERSION: v1.49.0
GOLANGCI_LINT_BASE: tools/bin/golangci-lint
GOLANGCI_LINT_BIN: "{{.GOLANGCI_LINT_BASE}}-{{.GOLANGCI_LINT_VERSION}}"
GOLANGCI_LINT_ARGS:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment