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

Struct Script

internal/check/script.go:17–22  ·  view source on GitHub ↗

Script is Tango-based script. see https://github.com/d5/tengo.

Source from the content-addressed store, hash-verified

15//
16// see https://github.com/d5/tengo.
17type Script struct {
18 Definition `mapstructure:",squash"`
19 Script string
20
21 path string
22}
23
24// NewScript creates a new `script`-based rule.
25func NewScript(cfg *core.Config, generic baseCheck, path string) (Script, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected