Skip to content

RequiredScriptEntry

RequiredScriptEntry = string | Record<string, string>

Defined in: policies/RequiredScripts.ts:22

A required script entry. Can be either:

  • A string (script name only, no default value)
  • An object with a single key-value pair (script name → default value for auto-fix)
// Script must exist, no auto-fix available
"test"
// Script must exist, auto-fix will add this value if missing
{ lint: "biome lint ." }