Skip to content

Commit 5ea3784

Browse files
committed
chore: ensure that all packages have comments
1 parent b93cd31 commit 5ea3784

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,8 +103,12 @@ linters-settings:
103103
rules:
104104
- name: use-any
105105
disabled: false
106+
- name: package-comments
107+
disabled: false
106108

107109
issues:
110+
include:
111+
- EXC0015 # revive package-comments
108112
max-issues-per-linter: 0
109113
max-same-issues: 0
110114
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)