Skip to content

Lint capitalization of acronyms in Go code #3490

Open
@ghost

Description

Tetragon Go code uses a mix of names with various case for acronyms like LSM or BPF. Following the Go style guide they should be always capitalized.

We can enforce it by adding a linter to the CI static checks. I don't know of a linter allowing to configure custom acronyms, so if a third-party doesn't exist we can write a custom one using go/analysis framework.

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