crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

update lint configuration

Open mmetc opened this issue 7 months ago • 2 comments

clarify the stance on named parameters, enable linter for exhaustive switch

mmetc avatar Jun 04 '25 14:06 mmetc

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Jun 04 '25 14:06 github-actions[bot]

Codecov Report

Attention: Patch coverage is 47.05882% with 9 lines in your changes missing coverage. Please review.

Project coverage is 60.65%. Comparing base (1d89310) to head (1e0fdb8). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/acquisition/modules/docker/docker.go 50.00% 5 Missing :warning:
pkg/csplugin/hclog_adapter.go 0.00% 3 Missing :warning:
cmd/crowdsec/win_service.go 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3667      +/-   ##
==========================================
- Coverage   60.66%   60.65%   -0.02%     
==========================================
  Files         374      374              
  Lines       41318    41322       +4     
==========================================
- Hits        25067    25065       -2     
- Misses      14177    14182       +5     
- Partials     2074     2075       +1     
Flag Coverage Δ
bats 44.73% <18.75%> (-0.04%) :arrow_down:
unit-linux 34.29% <50.00%> (+0.01%) :arrow_up:
unit-windows 24.29% <47.05%> (-0.02%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jun 04 '25 14:06 codecov[bot]