valid-custom-ruleset-name
Overview
This rule belongs to the custom-ruleset-syntax-validation
ruleset and states that:
The ruleset file's root object can specify a user-friendly name for the ruleset using the Name
property. This Name
must use alphanumeric characters and can also use dashes, commas, periods, spaces, round braces or underscores but any other special characters are forbidden.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Name provided for the custom ruleset is invalid. |
Code | CUSTOMRULESETSYNTAX_V003 |
Type | Validation |
Rule System | Syntax |
Broad Category | Ruleset |
Tags | custom ruleset syntax validation name |
Suggested Fixes
- Ensure that your ruleset
Name
only uses alphanumeric characters, dashes, commas, periods, spaces, round braces and underscores. - Remove any characters from your ruleset
Name
that are forbidden. - Ensure that your ruleset
Name
starts with an alphanumeric character.