Class
YamlLintTruthyOptions
OfficeIMO.Yaml
Settings of the YamlLintRules.Truthy rule.
Inheritance
- YamlLintRuleOptions
- YamlLintTruthyOptions
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.Truthy
Inherited Methods
Properties
public ISet<string> AllowedValues { get; } #Gets the boolean spellings that are not reported. Defaults to the YAML 1.2 core spellings (true, True, TRUE and the same for false), so only yes, no, on and off in any case are reported. Remove True and the other capitalized forms to require lowercase booleans.
public bool CheckKeys { get; set; } #Gets or sets whether mapping keys are checked too. Defaults to false, so a GitHub Actions on: key is not reported.
Inherited Properties
public OfficeDiagnosticSeverity Severity { get; set; } #Inherited from YamlLintRuleOptions