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

Fix lint errors #69

Merged
merged 6 commits into from
Oct 31, 2022
Merged

Fix lint errors #69

merged 6 commits into from
Oct 31, 2022

Conversation

romanwozniak
Copy link
Contributor

@romanwozniak romanwozniak commented Oct 30, 2022

Context:

In the past, CI pipeline ignored lint errors, which resulted in a large number of such issues accumulated in the codebase of this repo:
Screenshot 2022-10-31 at 12 02 41 PM

This PR fixes all existing lint errors and updates the CI pipeline to use golangci/golangci-lint instead of deprecated golang/lint. Moving forward, any added lint error will cause CI pipeline failure.

@romanwozniak romanwozniak changed the title 'Fix linting errors [Draft] Fix linting errors Oct 30, 2022
@romanwozniak romanwozniak changed the title [Draft] Fix linting errors Fix lint errors Oct 31, 2022
api/.gitignore Show resolved Hide resolved
Copy link
Contributor

@karzuo karzuo left a comment

Choose a reason for hiding this comment

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

overall LGTM.
Question:
For camelcase on acronyms like URL, ID, JSON etc, It that the convention we are adopting in DSP or just your personal preference?

@romanwozniak
Copy link
Contributor Author

overall LGTM. Question: For camelcase on acronyms like URL, ID, JSON etc, It that the convention we are adopting in DSP or just your personal preference?

It's the canonical Golang naming convention

@romanwozniak romanwozniak merged commit 79e0d0c into caraml-dev:main Oct 31, 2022
@romanwozniak romanwozniak deleted the fix_linter branch October 31, 2022 09:35
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