Skip to content

Commit

Permalink
skipAutogens default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodge0 committed Mar 22, 2022
1 parent 517c421 commit d1872c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (

//nolint:gochecknoinits
func init() {
flagSet.BoolVar(&skipAutogens, "skipAutogens", false, "should the linter execute on autogen files as well")
flagSet.BoolVar(&skipAutogens, "skipAutogens", true, "should the linter skip autogen files")
}

func NewAnalyzer() *analysis.Analyzer {
Expand Down

0 comments on commit d1872c7

Please sign in to comment.