GO
Linters
Linter | Additional |
---|---|
golangci-lint GO_GOLANGCI_LINT |
|
revive GO_REVIVE |
Linted files
- File extensions:
.go
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
GO_PRE_COMMANDS | List of bash commands to run before the linters | None |
GO_POST_COMMANDS | List of bash commands to run after the linters | None |
GO_FILTER_REGEX_INCLUDE | Custom regex including filter | |
GO_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |