Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

YamlLintQuoteRequirement

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

When the YamlLintRules.QuotedStrings rule expects string values to be quoted.

Inheritance

  • Enum
  • YamlLintQuoteRequirement

Usage

Explore 4 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.

Values

public const YamlLintQuoteRequirement Always #

Every string value is quoted.

Value: 0
public const YamlLintQuoteRequirement Optional #

Quoting is optional; only the quote type is checked.

Value: 1
public const YamlLintQuoteRequirement OnlyWhenNeeded #

Only values that would read as something else, or cannot be written plain, are quoted.

Value: 2