Skip to content

fix: linter warnings on test files#2159

Merged
abhinavdangeti merged 2 commits intoblevesearch:masterfrom
christiangda:fix-test-linter-warnings
Mar 10, 2025
Merged

fix: linter warnings on test files#2159
abhinavdangeti merged 2 commits intoblevesearch:masterfrom
christiangda:fix-test-linter-warnings

Conversation

@christiangda
Copy link
Contributor

Since I started using this project on my production workloads, I would like to contribute to the project.

This first contribution is focused on the easy part of cleaning the code according to the common golang linters, like golangci-lint and gopls. To impact the less possible in my contribution I started with _test.go files, I fixed some of the easy ones, there are too many and many of these linters warnings come from old go code.

I hope this contribution starts helping and standardizing the code according to the golang version used.

Copy link
Member

@CascadingRadium CascadingRadium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as per above comments

@christiangda
Copy link
Contributor Author

thank you, @CascadingRadium, for your comment; I did the fix following your comments; let me know if you agree with the changes.

@abhinavdangeti
Copy link
Member

Thank you for this contribution @christiangda .

@abhinavdangeti abhinavdangeti merged commit 72de0d7 into blevesearch:master Mar 10, 2025
9 checks passed
@abhinavdangeti abhinavdangeti added this to the v2.5.0 milestone Mar 18, 2025
@christiangda christiangda deleted the fix-test-linter-warnings branch April 22, 2025 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants