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

enable canonicalheader linter in golangci-lint #1405

Merged

Conversation

ccoVeille
Copy link
Contributor

  • ci: enable canonicalheader in golangci-lint
  • chore: use canonical form for all HTTP headers

@ccoVeille ccoVeille force-pushed the golangci-canonicalheader branch 2 times, most recently from 18a6b10 to 23f7c5d Compare January 19, 2025 07:36
@Umang01-hash
Copy link
Contributor

@ccoVeille Please resolve the merge conflicts in your branch.

@ccoVeille
Copy link
Contributor Author

I will, but later today. I'm at work, I only contribute OSS projects on my free time.

@ccoVeille ccoVeille force-pushed the golangci-canonicalheader branch from 23f7c5d to e9c1773 Compare January 20, 2025 11:37
@ccoVeille
Copy link
Contributor Author

Here it is, a simple conflict resolution

This commit enables the canonicalheader linter in golangci-lint.
This linter checks that all headers are in canonical format.

The idea is to have a consistent way of writing headers in the codebase.
This follows the activation of canonicalheader linter in golangci-lint.
@ccoVeille ccoVeille force-pushed the golangci-canonicalheader branch from e9c1773 to b863c5a Compare January 21, 2025 21:13
@Umang01-hash Umang01-hash merged commit c2ab1eb into gofr-dev:development Jan 22, 2025
12 checks passed
@Umang01-hash Umang01-hash deleted the golangci-canonicalheader branch January 22, 2025 08:14
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