fix golangci-lint configuration
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"