Skip to content

Commit 4a1d20c

Browse files
committed
Add 'hugeParam' linter to GolangCI configuration and exclude RunnerConfig stuttering issue. Updated .golangci.yml to enhance linting rules and prevent breaking changes related to type name stuttering in runner types.
1 parent 46e1631 commit 4a1d20c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ linters-settings:
2121
- octalLiteral
2222
- whyNoLint
2323
- wrapperFunc
24+
- hugeParam
2425
funlen:
2526
lines: 100
2627
statements: 50
@@ -92,6 +93,12 @@ issues:
9293
linters:
9394
- revive
9495
text: "exported .* should have comment"
96+
97+
# Exclude RunnerConfig stuttering issue (would be breaking change)
98+
- path: pkg/runner/types.go
99+
linters:
100+
- revive
101+
text: "type name will be used as runner.RunnerConfig by other packages"
95102

96103
# Maximum issues count per one linter
97104
max-issues-per-linter: 50

0 commit comments

Comments
 (0)