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

Add gocyclo linter #1754

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Add gocyclo linter #1754

merged 1 commit into from
Jul 15, 2021

Conversation

lucacome
Copy link
Member

Adding https://github.com/fzipp/gocyclo since we now have the linters enabled only for new code.

Gocyclo calculates cyclomatic complexities of functions in Go source code.
Cyclomatic complexity is a code quality metric which can be used to identify code that needs refactoring. It measures the number of linearly independent paths through a function's source code.

@lucacome lucacome requested a review from a team July 14, 2021 18:49
@lucacome lucacome self-assigned this Jul 14, 2021
@lucacome lucacome requested review from ciarams87, soneillf5 and pleshakov and removed request for a team July 14, 2021 18:49
@github-actions github-actions bot added the chore Pull requests for routine tasks label Jul 14, 2021
@lucacome lucacome merged commit c0b72ab into master Jul 15, 2021
@lucacome lucacome deleted the chore/add-gocyclo branch July 15, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants