mirror of
https://github.com/Crocmagnon/fatcontext.git
synced 2025-04-17 06:46:11 +02:00
doc: update linter description
This commit is contained in:
parent
90afb8d3fa
commit
4410b65005
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
var Analyzer = &analysis.Analyzer{
|
||||
Name: "fatcontext",
|
||||
Doc: "detects nested contexts in loops",
|
||||
Doc: "detects nested contexts in loops and function literals",
|
||||
Run: run,
|
||||
Requires: []*analysis.Analyzer{inspect.Analyzer},
|
||||
}
|
||||
|
@ -70,7 +70,6 @@ func run(pass *analysis.Pass) (interface{}, error) {
|
|||
Message: getReportMessage(node),
|
||||
SuggestedFixes: fixes,
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
return nil, nil
|
||||
|
|
Loading…
Add table
Reference in a new issue