Skip to content

Commit

Permalink
Merge pull request #909 revert linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby authored Dec 12, 2023
2 parents aec710b + e70d8ea commit 12f3818
Showing 1 changed file with 59 additions and 20 deletions.
79 changes: 59 additions & 20 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,27 +225,66 @@ linters-settings:
# Default: false
checkExported: true
linters:
enable-all: true
disable:
- godot
- varnamelen
- wrapcheck
- nosnakecase
- deadcode
- golint
- interfacer
- maligned
- ifshort
- structcheck
- exhaustivestruct
- scopelint
- varcheck
- ireturn
disable-all: true
enable:
# - cyclop
- depguard
- wsl
- exhaustruct
- gci
- paralleltest #need be enabled
- dogsled
# - dupl
- errcheck
- errorlint
# - exhaustive
# - exhaustivestruct
# - forbidigo
# - funlen
# - gci
# - gocognit
- goconst
- gocritic
- gocyclo
# - godot
- godox
- gofmt # On why gofmt when goimports is enabled - https://github.com/golang/go/issues/21476
- gofumpt
- goheader
- goimports
# - gomnd
# - gomoddirectives
# - gomodguard
- gosec
- gosimple
- govet
- depguard
# - ifshort
# - ireturn
- lll
- makezero
- misspell
- ineffassign
- misspell
- nakedret
- nestif
# - nilnil
# - nlreturn
- nolintlint
- prealloc
- predeclared
- rowserrcheck
- revive
- staticcheck
- stylecheck
# - tagliatelle
# - testpackage
# - thelper
# - tenv
- typecheck
- unconvert
- unparam
- unused
# - varnamelen
- whitespace
# - wrapcheck
# - wsl

issues:
# List of regexps of issue texts to exclude, empty list by default.
Expand Down

0 comments on commit 12f3818

Please sign in to comment.