cli icon indicating copy to clipboard operation
cli copied to clipboard

chore: enable revive's conditions nesting related rules

Open mmorel-35 opened this issue 7 months ago • 1 comments

- What I did

enable and fix revive's conditions nesting related rules

- How I did it

Add early-return, if-return, indent-error-flow and superfluous-else rules to golangci-lint configuration and run golangci-lint, then apply preconisations

- How to verify it

- Human readable description for the release notes



- A picture of a cute animal (not mandatory but encouraged)

No

mmorel-35 avatar Apr 25 '25 19:04 mmorel-35

Codecov Report

Attention: Patch coverage is 65.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 54.82%. Comparing base (8403869) to head (99b9da4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6038   +/-   ##
=======================================
  Coverage   54.82%   54.82%           
=======================================
  Files         364      364           
  Lines       30467    30464    -3     
=======================================
- Hits        16703    16702    -1     
+ Misses      12789    12788    -1     
+ Partials      975      974    -1     
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Apr 25 '25 19:04 codecov-commenter