all repos — homestead @ 6f89ea3f75d08c078938b4bc9882be12cc37d82e

Code for my website

fix golangci-lint configuration

Alan Pearce
commit

6f89ea3f75d08c078938b4bc9882be12cc37d82e

parent

b0fb4267fdb3fccc93355ee022d41805f4f15a10

1 file changed, 5 insertions(+), 8 deletions(-)

jump to
M .golangci.yaml.golangci.yaml
@@ -1,8 +1,8 @@
--- # yamllint disable-line rule:line-length # yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json +version: "2" linters: - fast: false enable: - gocritic - godox
@@ -16,12 +16,9 @@ - nosprintfhostport
- paralleltest - prealloc - reassign - - revive - sloglint - unconvert -issues: - exclude-rules: - - linters: - - revive - path: templates/ - text: "dot-imports" + settings: + staticcheck: + dot-import-whitelist: + - "go.alanpearce.eu/gomponents/html"