Skip to content

Commit 2e01dff

Browse files
committed
Update CI configs to v0.12.1
Update lint scripts and CI configs.
1 parent b16f20a commit 2e01dff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ linters:
4141
- maintidx # maintidx measures the maintainability index of each function.
4242
- makezero # Finds slice declarations with non-zero initial length
4343
- misspell # Finds commonly misspelled English words in comments
44+
- modernize # Replace and suggests simplifications to code
4445
- nakedret # Finds naked returns in functions greater than a specified function length
4546
- nestif # Reports deeply nested if statements
4647
- nilerr # Finds the code that returns nil even if it checks that the error is not nil.

0 commit comments

Comments
 (0)