Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use homogeneous JSON flags #5522

Merged
merged 4 commits into from
Mar 11, 2025
Merged

feat: use homogeneous JSON flags #5522

merged 4 commits into from
Mar 11, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 11, 2025

  • adds --json flags to golangci-lint formatters command
  • adds --json flags to golangci-lint linters command
  • modify golangci-lint version command to use --json instead of --format json
before
golangci-lint version --format short
golangci-lint version --debug
golangci-lint version --format json
golangci-lint version --format json --debug
after
golangci-lint version --short
golangci-lint version --debug
golangci-lint version --json
golangci-lint version --json --debug

@ldez ldez added enhancement New feature or improvement area: CLI Related to CLI labels Mar 11, 2025
@ldez ldez added this to the v2-unreleased milestone Mar 11, 2025
@ldez ldez requested review from alexandear and bombsimon March 11, 2025 02:22
@ldez ldez force-pushed the feat/json-flags branch from 4325475 to efedb95 Compare March 11, 2025 02:49
@ldez ldez merged commit fb7cc99 into golangci:main Mar 11, 2025
18 checks passed
@ldez ldez deleted the feat/json-flags branch March 11, 2025 14:33
@busser busser mentioned this pull request Mar 14, 2025
Closed
@ldez ldez modified the milestones: v2-unreleased, v2 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CLI Related to CLI enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants