Skip to main content

valid-custom-ruleset-id

Overview

This rule belongs to the custom-ruleset-syntax-validation ruleset and states that:

The ruleset file's root object must specify an Id property which can help uniquely identify the current ruleset. This Id must only use alphanumeric characters or dashes.

PropertyValue
EnabledYes
Maximum SeverityError
MessageId provided for the custom ruleset is invalid.
CodeCUSTOMRULESETSYNTAX_V002
TypeValidation
Rule SystemSyntax
Broad CategoryRuleset
Tagscustom ruleset syntax validation id

Suggested Fixes

  • Ensure that your Id is not null or empty.
  • Ensure that your Id does not match A-Za-z0-9-.
  • Remove any characters from your Id that are not alphanumeric characters or dashes.
  • Spaces are not allowed.

For More Information