Skip to content

Commit

Permalink
Adjust defaults for flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmrtn committed Sep 11, 2022
1 parent 1de6473 commit 4f9e6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,14 @@ func NewCommentMimic() *analysis.Analyzer {
fs.BoolVar(
&m.commentAllExportedFuncs,
"comment-all-exported",
true,
false,
"require comments on all exported functions",
)

fs.BoolVar(
&m.commentInterfaces,
"comment-interfaces",
true,
false,
"require comments on all exported interfaces",
)

Expand Down

0 comments on commit 4f9e6ed

Please sign in to comment.