Skip to content

Add golangci-lint configuration and dedicated linting workflow #375

@mmorel-35

Description

@mmorel-35

This issue documents the request to:

Background:
Establishing standardized linting ensures code quality, prevents common mistakes, and improves maintainability. Adding a standalone lint workflow makes linting passive and reliable for all contributors.

Tasks:

  1. Add a suitable .golangci.yml configuration defining the desired linting rules, exclusions, and severity.
  2. Create a dedicated workflow file under .github/workflows/lint.yml to run golangci-lint on each push and pull request. Consider best practices for CI speed, caching, and reporting results.
  3. Document usage or customizing the lint config (README, CONTRIBUTING, etc.) for contributors.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions