Skip to content

[Feature Request] Add Common Linters and Formatters #130

@Exca-DK

Description

@Exca-DK

🚀 Feature Request Description

I propose adding linters and formatters to the repository to enforce consistent code style and improve code quality.

Motivation

Is your feature request related to a problem? Please describe you use case.
Currently, some parts of the codebase are incorrectly formatted and do not follow the common go conventions (eg. import order).
This leads to inconsistencies and make the code harder to read and maintain due to misc diffs in PRs eg. pr

Adding automated linting and formatting tools would help enforce a consistent style across the repository and prevent future issues.

Pitch

Describe the solution you would like
I propose integrating tools such as:

  • golangci-lint for static analysis and linting
  • gofumpt to automatically format and organize imports

These tools can be added to CICD pipelines to ensure compliance with Go best practices.

Describe alternatives you've considered
None

Are you willing to open a pull request?
Yes

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions