Skip to content

Commit

Permalink
fix cmd line for golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Taylor <[email protected]>
  • Loading branch information
sbtaylor15 committed Jun 4, 2024
1 parent 0deedfb commit a6c0325
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@ DISABLE_LINTERS:
DISABLE:
- COPYPASTE
- SPELL
GO_GOLANGCI_LINT_CLI_LINT_MODE: project
GO_GOLANGCI_LINT_ARGUMENTS: --timeout 10m

GO_GOLANGCI_LINT_ARGUMENTS:
- "run"
- "./..."
- "--timeout"
- "10m"
- "--fix"
- "--show-stats"

GO_GOLANGCI_LINT_COMMAND_REMOVE_ARGUMENTS:
- "run"
- "--fix"

PRE_COMMANDS:
- command: wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
- command: rm -rf /usr/lib/go
Expand Down

0 comments on commit a6c0325

Please sign in to comment.