Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
analyzers
|
|
|
noanyparam
Package noanyparam implements rule G03 of the anti-slop rule set.
|
Package noanyparam implements rule G03 of the anti-slop rule set. |
|
noanyreturn
Package noanyreturn implements rule G04 of the anti-slop rule set.
|
Package noanyreturn implements rule G04 of the anti-slop rule set. |
|
nolaundering
Package nolaundering implements rule G05 of the anti-slop rule set.
|
Package nolaundering implements rule G05 of the anti-slop rule set. |
|
nountypedmap
Package nountypedmap implements rule G02 of the anti-slop rule set.
|
Package nountypedmap implements rule G02 of the anti-slop rule set. |
|
safetyassert
Package safetyassert implements rule G01 of the anti-slop rule set: a single-result type assertion must carry a SAFETY comment that states the invariant which makes the panic unreachable.
|
Package safetyassert implements rule G01 of the anti-slop rule set: a single-result type assertion must carry a SAFETY comment that states the invariant which makes the panic unreachable. |
|
cmd
|
|
|
antislop
command
Command antislop runs every anti-slop analyzer as a standalone multichecker.
|
Command antislop runs every anti-slop analyzer as a standalone multichecker. |
|
internal
|
|
|
signature
Package signature holds the machinery that more than one rule needs.
|
Package signature holds the machinery that more than one rule needs. |
|
Package antislopplugin registers the anti-slop analyzers as a golangci-lint module plugin.
|
Package antislopplugin registers the anti-slop analyzers as a golangci-lint module plugin. |
Click to show internal directories.
Click to hide internal directories.