linter

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffPaths

func DiffPaths(pathsA sets.Set[string], pathsB sets.Set[string]) (sets.Set[string], sets.Set[string])

DiffPaths returns the paths that are missing from each set. We consider a path to be missing if it is not present in the other set, and if it is not a prefix or an extension of another path in the other set. We consider a string a prefix of another string if the other string starts with the first string followed by a period or an opening square bracket.

func Lint

func Lint(
	templatesFolder string,
	exceptionsPath string,
	document *parser.Document,
) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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