Skip to content

Commit 055a7b3

Browse files
authored
Enable missing comment lint check disabled by default from golangci-lint (#13)
* Enable missing comment lint check disabled by default from golangci-lint
2 parents 0a9f58a + adea4c3 commit 055a7b3

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ issues:
5757
- text: "weak cryptographic primitive"
5858
linters:
5959
- gosec
60+
exclude-use-default: false
6061

6162
# golangci.com configuration
6263
# https://github.com/golangci/golangci/wiki/Configuration

internal/mod/mod.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package mod provides functionality around modules
12
package mod
23

34
import (

internal/runner/runner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package runner is responsible for running the command and rendering the output
12
package runner
23

34
import (
@@ -11,6 +12,7 @@ import (
1112
"github.com/olekukonko/tablewriter"
1213
)
1314

15+
// OsExit is use here in order to simplify testing
1416
var OsExit = os.Exit
1517

1618
// Run converts the the json output of go list -u -m -json all to table format

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package main is the entry point of the go-mod-outdated tool
12
package main
23

34
import (

0 commit comments

Comments
 (0)