Skip to content

Commit fd7cea2

Browse files
committed
docs: add explanation inside the reference file
1 parent 0090c0f commit fd7cea2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.golangci.reference.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2876,6 +2876,8 @@ severity:
28762876
# - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
28772877
# - TeamCity: https://www.jetbrains.com/help/teamcity/service-messages.html#Inspection+Instance
28782878
#
2879+
# `@` can be used as severity value to keep the severity from linters (e.g. revive, gosec, ...)
2880+
#
28792881
# Default: ""
28802882
default-severity: error
28812883

@@ -2886,6 +2888,9 @@ severity:
28862888
# When a list of severity rules are provided, severity information will be added to lint issues.
28872889
# Severity rules have the same filtering capability as exclude rules
28882890
# except you are allowed to specify one matcher per severity rule.
2891+
#
2892+
# `@` can be used as severity value to keep the severity from linters (e.g. revive, gosec, ...)
2893+
#
28892894
# Only affects out formats that support setting severity information.
28902895
#
28912896
# Default: []

0 commit comments

Comments
 (0)