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]: enable early-return from revive #37119

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

Conversation

mmorel-35
Copy link
Contributor

Description

early-return: In Go it is idiomatic to minimize nesting statements, a typical example is to avoid if-then-else constructions.

@mmorel-35 mmorel-35 changed the title chore: enable early-return from revive [chore]: enable early-return from revive Jan 9, 2025
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 4e5e126 to e0f1a49 Compare January 9, 2025 19:24
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from e0f1a49 to 30d22ab Compare January 9, 2025 19:40
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 30d22ab to 5b8a767 Compare January 9, 2025 19:47
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 5b8a767 to 88afdef Compare January 9, 2025 20:08
@github-actions github-actions bot added the exporter/datadog Datadog components label Jan 9, 2025
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 88afdef to 4e4838d Compare January 9, 2025 20:13
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 4e4838d to da95aa7 Compare January 9, 2025 20:20
@mmorel-35 mmorel-35 force-pushed the revive/early-return branch from 36350ff to 77fdc66 Compare January 9, 2025 20:51
@songy23 songy23 added the ci-cd CI, CD, testing, build issues label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants