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

feature/fix-linter-issues #297

Merged
merged 2 commits into from
Mar 20, 2024
Merged

feature/fix-linter-issues #297

merged 2 commits into from
Mar 20, 2024

Conversation

alidaw
Copy link
Contributor

@alidaw alidaw commented Mar 18, 2024

The implementations out for review are used to get rid of style complaints detected by staticcheck linter.
Mostly following recurring issues have been solved:

  • error strings should not end with punctuation or newlines (ST1005)go-staticcheck
  • error strings should not be capitalized (ST1005)go-staticcheck
  • should omit nil check; len() for []github.com/gridscale/gsclient-go/v3.Credential is defined as zero (S1009)go-staticcheck

@alidaw alidaw self-assigned this Mar 18, 2024
@alidaw
Copy link
Contributor Author

alidaw commented Mar 20, 2024

Rebased to be ahead of master branch!

Copy link
Member

@nvthongswansea nvthongswansea left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you @alidaw.

@alidaw alidaw merged commit 4d5b997 into master Mar 20, 2024
24 checks passed
@alidaw alidaw deleted the feature/fix-linter-issues branch May 13, 2024 11:56
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