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
commit28025da170fdd77bf12dd4d9cdb663da0ea0679a (patch)
tree7093eef775aec2046440827decd605d9b84b23f0 /.golangci.yml
parent1d79b0ef6993c883e1f81dac5fe272b71d9075b2 (diff)
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