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

Revive fixes - part 3 #8872

Merged
merged 5 commits into from
Mar 1, 2021
Merged

Revive fixes - part 3 #8872

merged 5 commits into from
Mar 1, 2021

Conversation

zak-pawel
Copy link
Collaborator

Revive is fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint.

This is part3 of fixes for problems found for following set of rules:

  • [rule.var-naming]
    • Naming rules. -> This rule warns when variable or package naming conventions are not followed.
    • This PR contains fixes for more than 400 issues found by this rule.
    • All don't use an underscore in package name issues were not fixed -> Telegraf allows to have underscores in package names. This approach should be rethought or having underscores in packages should be ignored.

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Feb 17, 2021
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Please double check the struct elements exposed to toml but not carrying an annotation as these might change the config option...

@srebhan srebhan self-assigned this Feb 17, 2021
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but might have missed some toml issues... :-)

@zak-pawel
Copy link
Collaborator Author

!retry-checks

@zak-pawel
Copy link
Collaborator Author

!retry-failed

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Feb 18, 2021
@ssoroka ssoroka merged commit 8a6907a into influxdata:master Mar 1, 2021
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
* * Revive fixes regarding following set of rules: [rule.var-naming]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants