update-deps (#1)
All checks were successful
🚨 Test Code Base / 🔍 🐹 Go Tests (push) Successful in 1m22s
🚨 Test Code Base / 🧹 Lint (push) Successful in 1m31s
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 11m11s

Reviewed-on: #1
Co-authored-by: Ron Rise <ron@siteworxpro.com>
Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #1.
This commit is contained in:
2025-08-26 16:36:17 +00:00
committed by Siteworx Pro Gitea
parent aa1699243a
commit ff66877192
12 changed files with 197 additions and 30 deletions

61
.golangci.yml Normal file
View File

@@ -0,0 +1,61 @@
version: "2"
linters:
default: none
enable:
- bodyclose
- gocritic
- govet
- ineffassign
- staticcheck
- testifylint
- unused
settings:
govet:
disable:
- fieldalignment
enable-all: true
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- bodyclose
path: .*_test.go
- linters:
- bodyclose
path: router/timeout_response.go
# False positives on CGO generated code
- linters:
- staticcheck
path: vips/.*
text: 'SA4000:'
# False positives on CGO generated code
- linters:
- gocritic
path: vips/.*
text: dupSubExpr
# False positives on CGO generated code
- linters:
- staticcheck
text: 'ST1005:'
paths:
- .tmp
- vendor
- third_party$
- builtin$
- examples$
formatters:
enable:
- goimports
exclusions:
generated: lax
paths:
- .tmp
- vendor
- third_party$
- builtin$
- examples$