Skip to content

Commit

Permalink
adjust whitespace in linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
k0l11 committed Sep 12, 2023
1 parent 76a64a3 commit bda6058
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ linters:
disable-all: true
enable:
## golangci defaults (core linters)

# - errcheck # checking for unchecked errors, these unchecked errors can be critical bugs in some cases

- gosimple # specializes in simplifying a code
- govet # reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
- ineffassign # detects when assignments to existing variables are not used
Expand All @@ -32,7 +30,6 @@ linters:

## code complexity detectors
- nestif # reports deeply nested if statements

# - lll # reports long lines
# - funlen # tool for detection of long functions
# - gocognit # computes and checks the cognitive complexity of functions
Expand All @@ -56,7 +53,6 @@ linters:
- goconst # finds repeated strings that could be replaced by a constant
- predeclared # finds code that shadows one of Go's predeclared identifiers
- reassign # checks that package variables are not reassigned

# - dupl # tool for code clone detection
# - nilnil # checks that there is no simultaneous return of nil error and an invalid value

Expand Down

0 comments on commit bda6058

Please sign in to comment.