GetModuleValidationConfig (open)

Returns the validation configuration for a module

Syntax

LOADLIB "mod::system/lib/validation.whlib";

RECORD FUNCTION GetModuleValidationConfig(STRING modname)

Parameters

STRING modname

Name of the module

Return value

RECORD

Validation configuration for the specified module

BOOLEAN documentation

Whether to validate documentation

STRING ARRAY eslintmasks

List of masks for files to validate with eslint

RECORD ARRAY excludemasks

List of masks for files to exclude from validation

BOOLEAN futuremodule

Contains TRUE when this module isn't allowed to run on this webhare installation

STRING futuremodulewhy

Explains why the module isn't allowed to run on this webhare installation

BOOLEAN nomissingtids

Whether to fail validation when any tids are missing

BOOLEAN nowarnings

Whether to fail validation when any warnings are found (does not necessarily include warnings added since 2024)

BOOLEAN perfectcompile

Whether to fail validation when any harescript file has a warning