Skip to content

Commit 6aafe69

Browse files
committed
fix: update golangci-lint configuration and server improvements
1 parent 1e0db50 commit 6aafe69

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ linters:
3939
- varnamelen # Variable names fine
4040
- wsl # Use wsl_v5 instead
4141
- gosec # Security warnings are false positives for this codebase
42+
- gofumpt # Not critical
4243

43-
linters-settings:
44+
lintersSettings:
4445
contextcheck:
4546
# Allow context to be passed implicitly in some cases
4647
disable-enable-allowed: true

internal/server/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"filesystem-exporter/internal/config"
1111
"filesystem-exporter/internal/metrics"
12+
1213
"github.com/gin-gonic/gin"
1314
"github.com/prometheus/client_golang/prometheus/promhttp"
1415
)

0 commit comments

Comments
 (0)