feat: enable forbidigo linter

This commit is contained in:
Kevin Franklin Kim 2025-10-02 16:52:42 +02:00
parent 590c61d132
commit 99f769d4ae
No known key found for this signature in database

View File

@ -11,7 +11,6 @@ linters:
disable:
# TODO: enable linters
- containedctx # containedctx is a linter that detects struct contained context.Context field [fast: false, auto-fix: false]
- forbidigo # Forbids identifiers [fast: false, auto-fix: false]
- goconst # Finds repeated strings that could be replaced by a constant [fast: true, auto-fix: false]
# Deprected linters
- wsl
@ -82,6 +81,7 @@ linters:
rules:
- path: _test\.go
linters:
- forbidigo
- gosec
paths:
- examples