required-custom-ruleset-id
Overview
This rule belongs to the custom-ruleset-validation ruleset and states that:
The ruleset file's root object must specify an Id property which can help uniquely identify the current ruleset. The Id must only use alphanumeric characters or dashes.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Requried ruleset property Id is empty or missing. |
| Code | CUSTOMRULESET_V001 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Ruleset |
| Tags | custom ruleset semantic validation id |
Suggested Fixes
- Make sure that you have added the
Idproperty in the root object of the ruleset file. - Ensure that the value of property
Idis not empty or null. - Name of property
Idis compared in a case-sensitive manner.