all repos — homestead @ 8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

Code for my website

refactor: lint with golangci-lint

Alan Pearce
commit

8abf706d2e9d70a3d11f58a9eb4c01a7e6b436c2

parent

728423eaeb39d3db2fdab31f65a3dc503542762d

1 file changed, 23 insertions(+), 0 deletions(-)

changed files
A .golangci.yaml
@@ -0,0 +1,23 @@
+--- +# yamllint disable-line rule:line-length +# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json +linters: + fast: false + enable: + - gocritic + - godox + - gosec + - grouper + - lll + - nilerr + - nilnil + - nlreturn + - noctx + - nosprintfhostport + - paralleltest + - prealloc + - reassign + - revive + - sloglint + - unconvert + - wrapcheck