Skip to content

Commit 4e58d5a

Browse files
committed
change log child name
1 parent 21bb156 commit 4e58d5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.golangci.example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ issues:
391391
# - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
392392
severity-default: error
393393

394-
# When a list of severity rules are provided severity information will be added to lint issues.
394+
# When a list of severity rules are provided, severity information will be added to lint issues.
395395
# Severity rules has the same filtering capability as exclude rules.
396396
# Only affects out formats that support setting severity information.
397397
severity-rules:

pkg/lint/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func NewRunner(cfg *config.Config, log logutils.Log, goenv *goutil.Env, es *lint
123123
processors.NewMaxFromLinter(icfg.MaxIssuesPerLinter, log.Child("max_from_linter"), cfg),
124124
processors.NewSourceCode(lineCache, log.Child("source_code")),
125125
processors.NewPathShortener(),
126-
processors.NewSeverityRules(icfg.SeverityDefault, severityRules, lineCache, log.Child("exclude_rules")),
126+
processors.NewSeverityRules(icfg.SeverityDefault, severityRules, lineCache, log.Child("severity_rules")),
127127
},
128128
Log: log,
129129
}, nil

0 commit comments

Comments
 (0)