Skip to content

Update golangci-lint Configuration: Replace Deprecated –out-format with –output.text.path=stdout#782

Closed
tanaka-takuto wants to merge 1 commit intoreviewdog:masterfrom
tanaka-takuto:fix-out-format
Closed

Update golangci-lint Configuration: Replace Deprecated –out-format with –output.text.path=stdout#782
tanaka-takuto wants to merge 1 commit intoreviewdog:masterfrom
tanaka-takuto:fix-out-format

Conversation

@tanaka-takuto
Copy link
Copy Markdown

Overview

This PR updates the golangci-lint command configuration by replacing the deprecated --out-format option with the alternative --output.text.path=stdout.

Details
• Starting from golangci-lint@v2.0.0, the --out-format option is no longer supported.
• Refer to the relevant PR for more context on this change.
• We replaced --out-format=line-number with --output.text.path=stdout in both the README and action.yml files.

…lint command

Since golangci-lint v2 no longer supports the --out-format option,
we updated the README and action.yml to use --output.text.path=stdout instead.
@tanaka-takuto
Copy link
Copy Markdown
Author

Alreadly open PR: #779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant