mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
feat: enable forbidigo linter
This commit is contained in:
parent
590c61d132
commit
99f769d4ae
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user