Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit c120825

Browse files
committed
Fix golangci to ignore comments at top of file.
Signed-off-by: Chris Privitere <[email protected]>
1 parent 2242084 commit c120825

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.golangci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ linters:
3939
- wsl
4040

4141
linters-settings:
42+
godot:
43+
# declarations - for top level declaration comments (default);
44+
# toplevel - for top level comments;
45+
# all - for all comments.
46+
scope: toplevel
47+
exclude:
48+
- '^ \+.*'
49+
- '^ ANCHOR.*'
4250
importas:
4351
# Do not allow unaliased imports of aliased packages.
4452
# Default: false

0 commit comments

Comments
 (0)