Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,42 @@ linters-settings:
local-prefixes: github.com/newrelic/nri-kube-events
gocyclo:
min-complexity: 20
golint:
min-confidence: 0.8
gomnd:
settings:
mnd:
checks: argument,case,condition,return
mnd:
checks:
- argument
- case
- condition
- return
govet:
check-shadowing: true
maligned:
suggest-new: true
enable:
- shadow
- fieldalignment
misspell:
locale: US
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
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped

linters:
disable-all: true
enable:
- bodyclose
- copyloopvar
- depguard
- dogsled
- dupl
- errcheck
- errorlint
- exhaustive
- exportloopref
- gocognit
- gocritic
- gocyclo
- gofmt
- goimports
- gomnd
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- misspell
- mnd
- nestif
- nilerr
- noctx
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

### bugfix
- Update and clean linters @dbudziwojskiNR [#441](https://github.com/newrelic/nri-kube-events/pull/441)

## v2.11.1 - 2024-11-04

### ⛓️ Dependencies
Expand Down
Loading