MCPcopy Create free account
hub / github.com/catppuccin/cli / Lint

Function Lint

schema/schema.go:19–21  ·  view source on GitHub ↗

Lint is for linting against the schema

(r io.Reader)

Source from the content-addressed store, hash-verified

17
18// Lint is for linting against the schema
19func Lint(r io.Reader) error {
20 return lint(r, schemaLoader)
21}
22
23func lint(r io.Reader, loader gojsonschema.JSONLoader) error {
24 data, err := io.ReadAll(r)

Callers 3

linterFunction · 0.92
TestValidSchemaFunction · 0.92
TestInvalidSchemaFunction · 0.92

Calls 1

lintFunction · 0.85

Tested by 2

TestValidSchemaFunction · 0.74
TestInvalidSchemaFunction · 0.74