YamlLintRules
OfficeIMO.Yaml
The ids of the rules YamlLinter checks. They match the yamllint rule names where yamllint has the same rule, so findings and configuration read the same in both tools.
Inheritance
- object
- YamlLintRules
Inherited Methods
Fields
public const string Syntax #The text is not valid YAML. Always reported; the other rules then check only lines.
syntaxpublic const string Indentation #Nested block collections indented by a different width than the rest of the file.
indentationpublic const string Truthy #Plain values such as yes, on or no that YAML 1.1 and YAML 1.2 readers read differently.
truthypublic const string KeyDuplicates #A mapping key that repeats an earlier key of the same mapping.
key-duplicatespublic const string DocumentStart #The document start marker --- is missing, or present where it is forbidden.
document-startpublic const string EmptyValues #A mapping value or sequence item left empty, which reads as null.
empty-valuespublic const string Comments #A comment without a space after #, or too close to the content before it.
commentspublic const string OctalValues #Integers such as 010 that YAML 1.1 readers take as octal and YAML 1.2 readers as decimal.
octal-valuespublic const string NewLineAtEndOfFile #The file does not end with a line break.
new-line-at-end-of-filepublic const string EmptyLines #Blank lines beyond the configured maximum, at the start, inside or at the end of the file.
empty-linespublic const string QuotedStrings #String values quoted in a different style than the configured one, or not quoted as required.
quoted-strings