Skip to content

GO

Linters

Linter Additional
golangci-lint
GO_GOLANGCI_LINT
GitHub stars autofix
revive
GO_REVIVE
GitHub stars sarif

Linted files

  • File extensions:
    • .go

Configuration in MegaLinter

Variable Description Default value
GO_FILTER_REGEX_INCLUDE Custom regex including filter
GO_FILTER_REGEX_EXCLUDE Custom regex excluding filter