Skip to content

Commit 881ad6a

Browse files
committed
chore: ensure that all packages have comments
1 parent 58f32a3 commit 881ad6a

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

.golangci.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,14 @@ linters-settings:
103103
rules:
104104
- name: indent-error-flow
105105
disabled: false
106+
- name: package-comments
107+
disabled: false
106108
- name: use-any
107109
disabled: false
108110

109111
issues:
112+
include:
113+
- EXC0015 # revive package-comments
110114
max-issues-per-linter: 0
111115
max-same-issues: 0
112116
exclude-rules:

detector/weakcredentials/winlocal/winlocal_dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
//go:build !windows
1616

17+
// Package winlocal implements a weak passwords detector for local accounts on Windows.
1718
package winlocal
1819

1920
import (

extractor/standalone/windows/dismpatch/dismpatch_dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
//go:build !windows
1616

17+
// Package dismpatch extract patch level from the DISM command line tool.
1718
package dismpatch
1819

1920
import (

extractor/standalone/windows/ospackages/ospackages_dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
//go:build !windows
1616

17+
// Package ospackages extracts installed softwares on Windows.
1718
package ospackages
1819

1920
import (

extractor/standalone/windows/regosversion/regosversion_dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
//go:build !windows
1616

17+
// Package regosversion extracts the OS version (build, major, minor release) from the registry.
1718
package regosversion
1819

1920
import (

extractor/standalone/windows/regpatchlevel/regpatchlevel_dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
//go:build !windows
1616

17+
// Package regpatchlevel extract patch level from the Windows registry.
1718
package regpatchlevel
1819

1920
import (

0 commit comments

Comments
 (0)