fix: update linting configuration and dependencies

This commit is contained in:
Andre_Harms 2026-02-18 14:16:37 +01:00
parent 7181f87aba
commit 5ba06af51a
4 changed files with 1090 additions and 30 deletions

View file

@ -2,6 +2,14 @@
version: "2"
run:
concurrency: 4
output:
formats:
text:
print-linter-name: true
print-issued-lines: true
colors: true
path: stdout
sort-results: true
linters:
enable:
- bodyclose
@ -76,14 +84,6 @@ linters:
- path: _test\.go
linters:
- gochecknoinits
paths:
- third_party/
- builtin/
- examples/
- tools/copy.go
- tools/main.go
- pkg_gen/
- cmd/
formatters:
enable:
- gofmt
@ -92,11 +92,3 @@ formatters:
goimports:
local-prefixes:
- tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview
exclusions:
generated: lax
paths:
- third_party/
- builtin/
- examples/
- pkg_gen/
- cmd/