Skip to main content

required-property-exists

Overview

This rule belongs to the custom-rules-linting ruleset and states that:

This rule ensures that the target object contains all required properties and that each property holds a valid value. If a required property is missing or contains an invalid value, this rule will be triggered.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property is missing or invalid in the target object.
CodeCUSTOMRULES_L004
TypeLinting
Rule SystemSemantic
Broad CategoryCustom Rules
Tagscustom rules semantic linting required property validation

Suggested Fixes

  • Ensure that all required properties are defined in the target object.
  • Verify that each required property contains a valid, non-null value.

For More Information