This rule belongs to the
yaml-syntax-validation ruleset and states that:
Directives are instructions to the YAML processor. They are identified by their name which is required and cannot be empty or null.
|Directive name is missing.
- % is used for declaring directives in YAML. If you don't intend to use any directives, remove the trailing %.
- Valid directives include %YAML, %TAG, etc.