# YamlLintEmptyLinesOptions

Settings of the YamlLintRules.EmptyLines rule.

Class 

`OfficeIMO.Yaml`

**Namespace**

`OfficeIMO.Yaml`

**Assembly**

`OfficeIMO.Yaml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[YamlLintOptions.cs:232](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L232)

**Base**

`YamlLintRuleOptions`

**Modifiers**

sealed

Settings of the [YamlLintRules.EmptyLines](/api/yaml/officeimo-yaml-yamllintrules/) rule.

## Inheritance

- [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)
- YamlLintEmptyLinesOptions

## 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.EmptyLines](/api/yaml/officeimo-yaml-yamllintoptions/#property-emptylines)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Max { get; set; }` [#](#property-max)

[YamlLintOptions.cs:232](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L232)

Gets or sets the most consecutive blank lines inside the file. Defaults to 2.

`public int MaxStart { get; set; }` [#](#property-maxstart)

[YamlLintOptions.cs:238](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L238)

Gets or sets the most blank lines at the start of the file. Defaults to 0.

`public int MaxEnd { get; set; }` [#](#property-maxend)

[YamlLintOptions.cs:244](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L244)

Gets or sets the most blank lines at the end of the file. Defaults to 0.

## Inherited Properties

`public string Id { get; }` [#](#property-id)

[YamlLintOptions.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L87)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

`public bool Enabled { get; set; }` [#](#property-enabled)

[YamlLintOptions.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L90)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

`public OfficeDiagnosticSeverity Severity { get; set; }` [#](#property-severity)

[YamlLintOptions.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L93)

Inherited from [YamlLintRuleOptions](/api/yaml/officeimo-yaml-yamllintruleoptions/)

<!-- PowerForge markdown artifact sha256:7D5FEA42216A97AE2680897EA1A58F3AA25F5A6F88393FED258AB01C3750EC18 -->
