You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DateKeys/.golangci.yml

29 lines
588 B

version: "2"
linters:
default: none
enable:
- errcheck
- govet
- staticcheck
- ineffassign
- unparam
exclusions:
# Unchecked Close of read-only files, fmt.Fprint* to the terminal and
# os.Remove of temporary files, as in golangci-lint v1.
presets:
- std-error-handling
rules:
# Tests may ignore errors of set-up writes and helpers.
- path: _test\.go
linters: [errcheck, unparam]
formatters:
enable:
- gofmt
- goimports
settings:
goimports:
local-prefixes:
- g.activething.com/go/DateKeys

Powered by TurnKey Linux.