From d899b38f853b90a5a98c2ae3f4535c1f84030ae0 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 6 Nov 2025 22:23:50 +0100 Subject: [PATCH 1/2] docs: improve fix flag description --- pkg/commands/flagsets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/flagsets.go b/pkg/commands/flagsets.go index cc4b00436e3a..2b61217c6589 100644 --- a/pkg/commands/flagsets.go +++ b/pkg/commands/flagsets.go @@ -138,5 +138,5 @@ func setupIssuesFlagSet(v *viper.Viper, fs *pflag.FlagSet) { internal.AddFlagAndBind(v, fs, fs.Bool, "whole-files", "issues.whole-files", false, color.GreenString("Show issues in any part of update files (requires new-from-rev or new-from-patch)")) internal.AddFlagAndBind(v, fs, fs.Bool, "fix", "issues.fix", false, - color.GreenString("Fix found issues (if it's supported by the linter)")) + color.GreenString("Apply the fixes detected by the linters and formatters (if it's supported by the linter)")) } From 51b3b90420fb6ca76d13477fb76421676f301da4 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 6 Nov 2025 23:44:51 +0100 Subject: [PATCH 2/2] docs: update reference and jsonschema --- .golangci.next.reference.yml | 2 +- jsonschema/golangci.next.jsonschema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.next.reference.yml b/.golangci.next.reference.yml index 2adb14f8b4b7..e17c9358e4d2 100644 --- a/.golangci.next.reference.yml +++ b/.golangci.next.reference.yml @@ -4495,7 +4495,7 @@ issues: # Default: false whole-files: true - # Fix found issues (if it's supported by the linter). + # Apply the fixes detected by the linters and formatters (if it's supported by the linter). # Default: false fix: true diff --git a/jsonschema/golangci.next.jsonschema.json b/jsonschema/golangci.next.jsonschema.json index a2cf0fd963d0..e2f59663e363 100644 --- a/jsonschema/golangci.next.jsonschema.json +++ b/jsonschema/golangci.next.jsonschema.json @@ -5064,7 +5064,7 @@ "examples": ["path/to/patch/file"] }, "fix": { - "description": "Fix found issues (if it's supported by the linter).", + "description": "Apply the fixes detected by the linters and formatters (if it's supported by the linter).", "type": "boolean", "default": false },