Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(name string, opt pepperlint.CopyRuler)
Add will add a new copy ruler to the rules registry. The reason why this take a copy ruler instead of a rule directly is that some rules may need to be pointers, and sharing pointers between visitors will be problematic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.