Skip to content

Commit d22bf5d

Browse files
G-Rathldez
andauthored
docs: add redundant-test-main-exit to revive rules (#5692)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 61bbcc4 commit d22bf5d

4 files changed

+12
-0
lines changed

Diff for: .golangci.next.reference.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2549,6 +2549,11 @@ linters:
25492549
severity: warning
25502550
disabled: false
25512551
exclude: [""]
2552+
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-test-main-exit
2553+
- name: redundant-test-main-exit
2554+
severity: warning
2555+
disabled: false
2556+
exclude: [""]
25522557
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#string-format
25532558
- name: string-format
25542559
severity: warning

Diff for: .golangci.reference.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,11 @@ linters:
25462546
severity: warning
25472547
disabled: false
25482548
exclude: [""]
2549+
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-test-main-exit
2550+
- name: redundant-test-main-exit
2551+
severity: warning
2552+
disabled: false
2553+
exclude: [""]
25492554
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#string-format
25502555
- name: string-format
25512556
severity: warning

Diff for: jsonschema/golangci.jsonschema.json

+1
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@
632632
"redefines-builtin-id",
633633
"redundant-build-tag",
634634
"redundant-import-alias",
635+
"redundant-test-main-exit",
635636
"string-format",
636637
"string-of-int",
637638
"struct-tag",

Diff for: jsonschema/golangci.next.jsonschema.json

+1
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@
632632
"redefines-builtin-id",
633633
"redundant-build-tag",
634634
"redundant-import-alias",
635+
"redundant-test-main-exit",
635636
"string-format",
636637
"string-of-int",
637638
"struct-tag",

0 commit comments

Comments
 (0)