Skip to content

chore: enable revive's conditions nesting related rules #6038

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

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 Apr 25, 2025

- 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

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2025

Codecov Report

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

Project coverage is 58.91%. Comparing base (c80675b) to head (1b73902).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6038   +/-   ##
=======================================
  Coverage   58.91%   58.91%           
=======================================
  Files         358      358           
  Lines       29988    29985    -3     
=======================================
- Hits        17666    17665    -1     
+ Misses      11341    11340    -1     
+ Partials      981      980    -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
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.

2 participants