Skip to content

Commit

Permalink
docs: improve gocritic description (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-rosset committed Feb 24, 2021
1 parent 25332f5 commit ce3ff22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/golinters/gocritic.go
Expand Up @@ -33,7 +33,9 @@ func NewGocritic() *goanalysis.Linter {
}
return goanalysis.NewLinter(
gocriticName,
"The most opinionated Go source code linter",
`Provides many diagnostics that check for bugs, performance and style issues.
Extensible without recompilation through dynamic rules.
Dynamic rules are written declaratively with AST patterns, filters, report message and optional suggestion.`,
[]*analysis.Analyzer{analyzer},
nil,
).WithContextSetter(func(lintCtx *linter.Context) {
Expand Down

0 comments on commit ce3ff22

Please sign in to comment.