From d1872c7053163afe0dbf1e756c4bef3133f57380 Mon Sep 17 00:00:00 2001 From: Rodge0 Date: Tue, 22 Mar 2022 17:10:56 +0800 Subject: [PATCH] skipAutogens default value --- analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer.go b/analyzer.go index 1914045..6d30168 100644 --- a/analyzer.go +++ b/analyzer.go @@ -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 {