Skip to content

Commit

Permalink
docs: add explanation about the list of linters inside repo configura…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
ldez committed Mar 7, 2024
1 parent 4fea092 commit dbc31fd
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,14 @@ linters:
- unused
- whitespace

# don't enable:
# - asciicheck
# - gochecknoglobals
# - gocognit
# - godot
# - godox
# - goerr113
# - nestif
# - prealloc
# - testpackage
# - wsl
# This list of linters is not a recommendation (same thing for all this configuration file).
# We intentionally use a limited set of linters.
# This configuration file is used with different version of golangci-lint to avoid regressions:
# the linters can change between version,
# their configuration may be not compatible or their reports can be different,
# and this can break some of our tests.
# Also, some linters are not relevant for the project (ex: linters related to SQL).
# We have specific constraints, so we use a specific configuration.

issues:
# Excluding configuration per-path, per-linter, per-text and per-source
Expand Down

0 comments on commit dbc31fd

Please sign in to comment.