summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2022-08-17 19:57:00 -0600
committerLuke Shumaker <lukeshu@datawire.io>2022-08-17 19:57:00 -0600
commit3bd2e0e93647b806a68f06f319ea23511ec24a37 (patch)
tree0c0f56296d0fe49e34e23d7738aed4dd60ca32e1 /.golangci.yml
parentb2bf19e062ad1ce46dbf9107f5c3b47354f64d03 (diff)
Get the borrowed files passing the linter
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 0a0eb7e..fb78da2 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -10,6 +10,7 @@ linters:
linters-settings:
gofmt:
simplify: true
-run:
- skip-files:
- - '^(.*/)?borrowed_.*_test\.go$' # TODO
+issues:
+ exclude-rules:
+ path: borrowed_example_test.go
+ linters: [errcheck]