Skip to content

Commit 5ae8401

Browse files
committed
exclude composites from lint checks.
Composites checks prevents using unkeyed fields, which is not needed in the examples project because `time.Time` is embedded into `github.Timestamp`
1 parent ea39e12 commit 5ae8401

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ linters:
2121
- staticcheck
2222
- ineffassign
2323
- unused
24-
issues:
24+
issues:
25+
exclude:
26+
- composites
2527
exclude-rules:
2628
- linters:
2729
- dogsled

0 commit comments

Comments
 (0)