Skip to content

additional checks in golang linter #34083

Open
@TheFox0x7

Description

@TheFox0x7

Feature Description

more of a RFC than a gitea feature.


Are there any more linters which might be of interest?
https://golangci-lint.run/usage/linters/

Some are obviously no go for now (for example containedctx which I use to remove context from structs) but maybe there are some which we can toggle with benefits?

I think protogetter, intrange(?), usestdlibvars, prefsprint and mirror might be of some interest initially.

also linter we use now supports formatting which we could use? I didn't dig into it so far but there might be something interesting there.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions