summaryrefslogtreecommitdiff
path: root/.golangci.toml
diff options
context:
space:
mode:
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 = [
+]