diff --git a/.golangci.yml b/.golangci.yml index 830b3f4..9b111e6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -21,9 +21,9 @@ linters-settings: enabled-tags: - diagnostic - experimental - - opinionated - performance - - style + #- style + #- opinionated disabled-checks: - dupImport # https://github.com/go-critic/go-critic/issues/845 - ifElseChain @@ -34,8 +34,6 @@ linters-settings: min-complexity: 15 goimports: local-prefixes: github.com/golangci/golangci-lint - golint: - min-confidence: 0 gomnd: settings: mnd: @@ -55,7 +53,7 @@ linters-settings: maligned: suggest-new: true misspell: - locale: US + locale: en_CA nolintlint: allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space) allow-unused: false # report any unused nolint directives @@ -68,12 +66,12 @@ linters: disable-all: true enable: - bodyclose - - deadcode - depguard - dogsled - dupl - errcheck - exhaustive + - exportloopref - funlen - gochecknoinits - goconst @@ -81,42 +79,43 @@ linters: - gocyclo - gofmt - goimports - - golint - gomnd - goprintffuncname - gosec - gosimple - govet - ineffassign - - interfacer - lll - misspell - nakedret - noctx - nolintlint - - rowserrcheck - - scopelint - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace # don't enable: # - asciicheck + # - deadcode # - gochecknoglobals # - gocognit # - godot # - godox # - goerr113 + # - golint + # - interfacer # - maligned # - nestif # - prealloc + ## - rowserrcheck + # - scopelint + # - structcheck # - testpackage + # - varcheck # - wsl issues: