summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index ba58f21..1260169 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -124,6 +124,9 @@ linters-settings:
issues:
exclude-use-default: false
exclude-rules:
+ # Unchecked type asserts in tests are fine.
+ - linters: [forcetypeassert]
+ path: ".*_test\\.go"
# Ignore false positives that don't actually have any words.
- linters: [dupword]
source: "^[^a-zA-Z]*$"