summaryrefslogtreecommitdiff
path: root/.golangci.toml
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-07-09 20:32:34 +0200
committerMartin Fischer <martin@push-f.com>2025-07-14 07:01:33 +0200
commitba6b72b4c7e257b9514ce21b7fbbc469e4c8a849 (patch)
treef70afb535e75d3e1c9d100212b64ad171b088b8b /.golangci.toml
initial commitHEADmaster
Diffstat (limited to '.golangci.toml')
-rw-r--r--.golangci.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.golangci.toml b/.golangci.toml
new file mode 100644
index 0000000..816e446
--- /dev/null
+++ b/.golangci.toml
@@ -0,0 +1,17 @@
+version = "2"
+
+[linters]
+enable = [
+ "exhaustive",
+ "exhaustruct",
+]
+
+[linters.settings.errcheck]
+exclude-functions = [
+ "fmt.Fprintln(io.Writer)",
+ "fmt.Fprintf(io.Writer)",
+]
+
+[linters.settings.exhaustruct]
+exclude = [
+]