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
commit5e367588152facd31ddd6b841a42bf05adb57315 (patch)
tree01b1c3308b2449a2ff045731e823404037d61102 /.golangci.yml
parent8e27c43c1b882c8f2f759eec556f90229c067cc9 (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