crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

enable linter "unused"

Open mmetc opened this issue 1 year ago • 3 comments

mmetc avatar Nov 18 '24 14:11 mmetc

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
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 Nov 18 '24 14:11 github-actions[bot]

@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 Nov 18 '24 14:11 github-actions[bot]

Codecov Report

:x: Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 61.57%. Comparing base (ba936ba) to head (872949d). :warning: Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
cmd/crowdsec-cli/dashboard_unsupported.go 0.00% 2 Missing :warning:
pkg/alertcontext/alertcontext.go 50.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3334      +/-   ##
==========================================
+ Coverage   57.19%   61.57%   +4.38%     
==========================================
  Files         410      410              
  Lines       42093    42074      -19     
==========================================
+ Hits        24076    25908    +1832     
+ Misses      15964    14043    -1921     
- Partials     2053     2123      +70     
Flag Coverage Δ
bats 45.57% <66.66%> (+<0.01%) :arrow_up:
unit-linux 34.53% <33.33%> (?)
unit-windows 24.54% <44.44%> (+0.04%) :arrow_up:

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 Nov 18 '24 14:11 codecov[bot]