checkers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnalyzerRegistry = []Analyzer{
	{
		TestDir:   "checkers/javascript/testdata",
		Analyzers: []*goAnalysis.Analyzer{javascript.NoDoubleEq},
	},
}

Functions

func LoadGoRules

func LoadGoRules() []*goAnalysis.Analyzer

func LoadYamlRules

func LoadYamlRules() (map[analysis.Language][]analysis.YmlRule, error)

func RunAnalyzerTests added in v0.3.0

func RunAnalyzerTests(analyzerRegistry []Analyzer) (bool, []error)

Types

type Analyzer added in v0.3.0

type Analyzer struct {
	TestDir   string
	Analyzers []*goAnalysis.Analyzer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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