summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.golangci.yml1
-rw-r--r--lib/textui/log.go3
2 files changed, 2 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml
index bf04a40..ea06c75 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -25,7 +25,6 @@ linters:
# These are disabled not because I think they're bad, but because
# they currently don't pass, and I haven't evaluated them yet.
- cyclop
- - dogsled
- dupword
- errorlint
- exhaustive
diff --git a/lib/textui/log.go b/lib/textui/log.go
index 5ddc7a8..bc8b159 100644
--- a/lib/textui/log.go
+++ b/lib/textui/log.go
@@ -1,5 +1,5 @@
// Copyright (C) 2019-2022 Ambassador Labs
-// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
+// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: Apache-2.0
//
@@ -159,6 +159,7 @@ var (
)
func init() {
+ //nolint:dogsled // I can't change the signature of the stdlib.
_, file, _, _ := runtime.Caller(0)
thisModDir = filepath.Dir(filepath.Dir(filepath.Dir(file)))
}