Skip to content

Commit 2f95708

Browse files
committed
Update lint config
1 parent c205bf1 commit 2f95708

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.golangci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ linters:
1717
- errcheck
1818
- errname
1919
- errorlint
20-
- exportloopref # checks for pointers to enclosing loop variables
2120
- gci
2221
- gochecknoinits # checks that no init functions are present in Go code
2322
- gocritic
24-
- gomnd
2523
- gosimple
2624
- govet
2725
- importas # enforces consistent import aliases
@@ -42,7 +40,6 @@ linters:
4240
- revive # fast, configurable, extensible, flexible, and beautiful linter for Go, drop-in replacement of golint
4341
- staticcheck
4442
- stylecheck
45-
- tenv
4643
- thelper # detects golang test helpers without t.Helper() call and checks the consistency of test helpers
4744
- unconvert # removes unnecessary type conversions
4845
- unparam # reports unused function parameters
@@ -80,7 +77,7 @@ linters-settings:
8077
nestif:
8178
# Minimal complexity of if statements to report.
8279
# Default: 5
83-
min-complexity: 4
80+
min-complexity: 5
8481
nolintlint:
8582
# Enable to require an explanation of nonzero length after each nolint directive.
8683
# Default: false

0 commit comments

Comments
 (0)