MCPcopy Create free account
hub / github.com/vale-cli/vale / YAML

Function YAML

internal/lint/code/yaml.go:10–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func YAML() *Language {
11 return &Language{
12 Delims: regexp.MustCompile(`#`),
13 Parser: yaml.GetLanguage(),
14 Queries: []core.Scope{{Name: "", Expr: "(comment) @comment", Type: ""}},
15 Padding: func(s string) int {
16 return computePadding(s, []string{"#"})
17 },
18 }
19}

Callers 1

GetLanguageFromExtFunction · 0.85

Calls 1

computePaddingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…