skipgenerated

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GeneratedPhrases = []string{codeGenerated, doNotEdit, automaticallyGenerated, autoGeneratedFile}
	GeneratedRE      = regexp.MustCompile(fmt.Sprintf(`(?i)(%s)`, strings.Join(GeneratedPhrases, "|")))

	Analyzer = &analysis.Analyzer{
		Name:             "skipgenerated",
		Doc:              "filters out the generated files",
		Run:              run,
		RunDespiteErrors: true,
		ResultType:       reflect.TypeOf([]*ast.File{}),
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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