Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = SCAnalyzer.Analyzer
View Source
var SCAnalyzer = lint.InitializeAnalyzer(&lint.Analyzer{ Analyzer: &analysis.Analyzer{ Name: "ST1022", Run: run, Requires: []*analysis.Analyzer{generated.Analyzer, inspect.Analyzer}, }, Doc: &lint.RawDocumentation{ Title: "The documentation of an exported variable or constant should start with variable's name", Text: `Doc comments work best as complete sentences, which allow a wide variety of automated presentations. The first sentence should be a one-sentence summary that starts with the name being declared. If every doc comment begins with the name of the item it describes, you can use the \'doc\' subcommand of the \'go\' tool and run the output through grep. See https://go.dev/doc/effective_go#commentary for more information on how to write good documentation.`, Since: "2020.1", NonDefault: true, MergeIf: lint.MergeIfAny, }, })
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.