Skip to content

Commit 70074a7

Browse files
authored
chore: enable redundant-test-main-exit rule for revive linter (#1868)
We've already addressed the violations of this in #1772, but could not enable the rule at the time as it was mistakenly omitted from the schema used by the action to valid the linter config - now though golangci/golangci-lint#5692 has been released and we've upgraded, that is no longer an issue 🎉
1 parent a5a8634 commit 70074a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.golangci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,8 @@ linters:
9292
disabled: false
9393
- name: redefines-builtin-id
9494
disabled: false
95-
# todo: enable once we've upgraded to v2, as the validation schema
96-
# used by the github v1 action does not have this rule yet
97-
# - name: redundant-test-main-exit
98-
# disabled: false
95+
- name: redundant-test-main-exit
96+
disabled: false
9997
- name: superfluous-else
10098
disabled: false
10199
- name: time-naming

0 commit comments

Comments
 (0)