Interface: ValidateOptions¶
Defined in: validator/src/types.ts:109
Options for standalone validate function.
Extends¶
Properties¶
blockedPatterns?¶
optionalblockedPatterns?: (string|RegExp)[]
Defined in: validator/src/types.ts:87
Patterns to block in content (strings are converted to RegExp)
Inherited from¶
ValidatorConfig.blockedPatterns
customRules?¶
optionalcustomRules?:ValidationRule[]
Defined in: validator/src/types.ts:91
Custom validation rules to add
Inherited from¶
disableRules?¶
optionaldisableRules?:string[]
Defined in: validator/src/types.ts:89
Array of rule names to disable
Inherited from¶
ignoreHashes?¶
optionalignoreHashes?:boolean
Defined in: validator/src/types.ts:103
Skip reference integrity checks
Inherited from¶
lockfile?¶
optionallockfile?:Lockfile
Defined in: validator/src/types.ts:99
Lockfile for reference integrity checks
Inherited from¶
logger?¶
optionallogger?:Logger
Defined in: validator/src/types.ts:93
Logger for verbose/debug output
Inherited from¶
policies?¶
optionalpolicies?:PolicyDefinition[]
Defined in: validator/src/types.ts:95
Extension compliance policies
Inherited from¶
registryReferences?¶
optionalregistryReferences?:Set\<string>
Defined in: validator/src/types.ts:101
Set of resolved absolute paths that came from registry cache
Inherited from¶
ValidatorConfig.registryReferences
requiredGuards?¶
optionalrequiredGuards?:string[]
Defined in: validator/src/types.ts:85
List of guards that must be present in
Guards¶
block
Inherited from¶
ValidatorConfig.requiredGuards
rules?¶
optionalrules?:Record\<string,"off"|Severity>
Defined in: validator/src/types.ts:83
Override severity for specific rules (rule name -> severity or 'off')
Inherited from¶
skipPolicies?¶
optionalskipPolicies?:boolean
Defined in: validator/src/types.ts:97
Skip policy evaluation
Inherited from¶
validator?¶
optionalvalidator?:Validator
Defined in: validator/src/types.ts:111
Reuse an existing validator instance