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 }, 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)")) }