GetModuleValidationConfig (open)
Returns the validation configuration for a module
Syntax
LOADLIB "mod::system/lib/validation.whlib";
RECORD FUNCTION GetModuleValidationConfig(STRING modname)Parameters
STRING modnameName of the module
Return value
RECORDValidation configuration for the specified module
STRING ARRAY eslintmasksList of masks for files to validate with eslint
RECORD ARRAY excludemasksList of masks for files to exclude from validation
BOOLEAN futuremoduleContains TRUE when this module isn't allowed to run on this webhare installation
STRING futuremodulewhyExplains why the module isn't allowed to run on this webhare installation
BOOLEAN nomissingtidsWhether to fail validation when any tids are missing
BOOLEAN nowarningsWhether to fail validation when any warnings are found (does not necessarily include warnings added since 2024)
BOOLEAN perfectcompileWhether to fail validation when any harescript file has a warning