summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-24 21:49:26 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-28 12:38:10 -0600
commitf6f0a251ed962374f69e9fd7722dcd5c44aa58ad (patch)
treed5e8802ad7b62f5222d3d88a0c592ff6cbb6b4ba /.golangci.yml
parent8a8f276d2c0113fc93a77d77213665a5fb112b20 (diff)
containers: Rethink the caching libraries
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]*$"