Disable lint rule that generates false positives

This commit is contained in:
Jim McDonald
2024-09-01 22:26:59 +01:00
parent b4124b7a27
commit 1ac505f0bd

View File

@@ -106,6 +106,11 @@ output:
# All available settings of specific linters.
linters-settings:
gosec:
excludes:
# Flags for potentially-unsafe casting of ints, but generates a lot of false positives.
- 'G115'
lll:
line-length: 132
@@ -135,6 +140,7 @@ linters:
- execinquery
- exhaustive
- exhaustruct
- exportloopref
- forbidigo
- forcetypeassert
- funlen