Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: setup golangci-lint #7994

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Jan 9, 2025

Description

Following #7974 (comment)

Using golangci-lint will provide a common config file for all already used linters.
With this config comments can be provided.

Until now revive was only applied in the main module and not in submodules.
With one tool, this behavior will be avoided.

It will also provide a simpler way to provide new linters

RELEASE NOTES: None

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.24%. Comparing base (2d4daf3) to head (37d2f64).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7994      +/-   ##
==========================================
+ Coverage   82.00%   82.24%   +0.24%     
==========================================
  Files         381      381              
  Lines       38539    38539              
==========================================
+ Hits        31602    31698      +96     
+ Misses       5612     5540      -72     
+ Partials     1325     1301      -24     

see 27 files with indirect coverage changes

@mmorel-35 mmorel-35 force-pushed the setup-golangci-lint branch 2 times, most recently from 29de56b to 4d078da Compare January 9, 2025 08:27
@mmorel-35 mmorel-35 marked this pull request as ready for review January 9, 2025 08:30
@mmorel-35 mmorel-35 force-pushed the setup-golangci-lint branch 3 times, most recently from 79a2880 to 1791d04 Compare January 9, 2025 09:28
@mmorel-35
Copy link
Contributor Author

/cc @arjan-bal

@mmorel-35 mmorel-35 force-pushed the setup-golangci-lint branch 7 times, most recently from 5f17098 to 822bbd2 Compare January 10, 2025 07:20
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mmorel-35 mmorel-35 force-pushed the setup-golangci-lint branch from 822bbd2 to 37d2f64 Compare January 10, 2025 07:35
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.

1 participant