Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlLintCommentsOptions

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Settings of the YamlLintRules.Comments rule.

Inheritance

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

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.