Class
YamlLintCommentsOptions
OfficeIMO.Yaml
Settings of the YamlLintRules.Comments rule.
Inheritance
- YamlLintRuleOptions
- YamlLintCommentsOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property YamlLintOptions.Comments
Inherited Methods
Properties
public bool RequireStartingSpace { get; set; } #Gets or sets whether the comment text must start with a space after # (##### rulers excepted). Defaults to true.
public bool IgnoreShebangs { get; set; } #Gets or sets whether a #! line at the start of the file is exempt. Defaults to true.
public int MinSpacesFromContent { get; set; } #Gets or sets the fewest spaces between content and a comment on the same line; 0 turns the check off. Defaults to 2.
Inherited Properties
public OfficeDiagnosticSeverity Severity { get; set; } #Inherited from YamlLintRuleOptions