# YamlLintLineLengthOptions

Settings of the YamlLintRules.LineLength rule.

Class 

`OfficeIMO.Yaml`

**Namespace**

`OfficeIMO.Yaml`

**Assembly**

`OfficeIMO.Yaml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`YamlLintRuleOptions`

**Modifiers**

sealed

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

## Inheritance

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

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

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:138](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Yaml/Lint/YamlLintOptions.cs#L138)

Gets or sets the longest allowed line, in characters. Defaults to 120.

`public bool AllowNonBreakableWords { get; set; }` [#](#property-allownonbreakablewords)

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

Gets or sets whether a line whose content is one word without spaces, such as a URL, may be longer. Defaults to true.

`public bool AllowNonBreakableInlineMappings { get; set; }` [#](#property-allownonbreakableinlinemappings)

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

Gets or sets whether key: word may be longer when the value is one word without spaces. Defaults to true.

## 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:9A63DC54E4CB6EFE08DB249016915E3E0A4FB328D26408102F244FCD0C8794BF -->
