Skip to content

Commit

Permalink
chore: re-organize configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 27, 2024
1 parent 3d66aac commit ca7a80c
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,51 @@
#
# See the file `.golangci.reference.yml` to have a list of all available configuration options.

linters:
disable-all: true
enable:
- bodyclose
- copyloopvar
- depguard
- dogsled
- dupl
- errcheck
- errorlint
- funlen
- gocheckcompilerdirectives
- gochecknoinits
- gochecknoinits
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- goimports
- mnd
- goprintffuncname
- gosec
- gosimple
- govet
- intrange
- ineffassign
- lll
- misspell
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- testifylint
- unconvert
- unparam
- unused
- whitespace

# This list of linters is not a recommendation (same thing for all this configuration file).
# We intentionally use a limited set of linters.
# See the comment on top of this file.

linters-settings:
depguard:
rules:
Expand Down Expand Up @@ -102,51 +147,6 @@ linters-settings:
- name: unused-parameter
- name: unused-receiver

linters:
disable-all: true
enable:
- bodyclose
- copyloopvar
- depguard
- dogsled
- dupl
- errcheck
- errorlint
- funlen
- gocheckcompilerdirectives
- gochecknoinits
- gochecknoinits
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- goimports
- mnd
- goprintffuncname
- gosec
- gosimple
- govet
- intrange
- ineffassign
- lll
- misspell
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- testifylint
- unconvert
- unparam
- unused
- whitespace

# This list of linters is not a recommendation (same thing for all this configuration file).
# We intentionally use a limited set of linters.
# See the comment on top of this file.

issues:
exclude-rules:
- path: (.+)_test\.go
Expand Down

0 comments on commit ca7a80c

Please sign in to comment.