Documentation
¶
Overview ¶
Package tidygo registers custom lint analyzers as a golangci-lint v2 module plugin.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package funcname defines an analyzer that forbids underscores in function names.
|
Package funcname defines an analyzer that forbids underscores in function names. |
|
Package maxparams defines an analyzer that reports functions with more than 7 parameters.
|
Package maxparams defines an analyzer that reports functions with more than 7 parameters. |
|
Package nolateconst defines an analyzer that forbids package-level const and var declarations that appear after any function or method declaration.
|
Package nolateconst defines an analyzer that forbids package-level const and var declarations that appear after any function or method declaration. |
|
Package nolateexport defines an analyzer that forbids exported standalone functions (no receiver) that appear after unexported standalone functions.
|
Package nolateexport defines an analyzer that forbids exported standalone functions (no receiver) that appear after unexported standalone functions. |
|
Package nolocalstruct defines an analyzer that forbids named struct type declarations inside function bodies.
|
Package nolocalstruct defines an analyzer that forbids named struct type declarations inside function bodies. |
Click to show internal directories.
Click to hide internal directories.