rules

package
v0.0.0-...-8bd899d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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.

func Get

func Get(name string) pepperlint.Option

Get will return the copy rule based on name

Types

This section is empty.

Directories

Path Synopsis
core

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL