summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-08 18:42:28 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-08 18:42:28 -0600
commit91bf7111d67c02d9d262f34a6e864ff046f4d1ef (patch)
tree445acc290bf69d6a9b9087d2be77940160b48798 /.golangci.yml
Add a Makefile that runs lint and stuff
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 0000000..9067d40
--- /dev/null
+++ b/.golangci.yml
@@ -0,0 +1,8 @@
+linters:
+ disable:
+ - structcheck # doesn't support Go 1.18 yet
+ enable:
+ - gofmt
+linters-settings:
+ gofmt:
+ simplify: true