Skip to content

Commit e2c5d55

Browse files
committed
tools: tune lint for llformat adoption
1 parent 4678161 commit e2c5d55

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.golangci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ linters:
5454
- funcorder
5555
- wsl_v5
5656
- noinlineerr
57+
# llformat now owns vertical whitespace for handwritten Go. The
58+
# whitespace linter cannot express the project rule that multi-line
59+
# function signatures keep a body separator while single-return control
60+
# blocks stay compact.
61+
- whitespace
5762
settings:
5863
gosec:
5964
excludes:
@@ -67,9 +72,6 @@ linters:
6772
case:
6873
rules:
6974
json: snake
70-
whitespace:
71-
multi-if: true
72-
multi-func: true
7375
exclusions:
7476
generated: lax
7577
presets:

0 commit comments

Comments
 (0)