Sha256: 531d1fba3fcedac0d1dd9b72ff952b90d50281235b0b83cd54415dbdcb201a52

Contents?: true

Size: 605 Bytes

Versions: 24

Compression:

Stored size: 605 Bytes

Contents

# no-missing-end-of-source-newline

Disallow missing end-of-source newlines.

<!-- prettier-ignore -->
```css
    a { color: pink; }
    \n
/** ↑
 * This newline */
```

Completely empty files are not considered violations.

The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.

## Options

### `true`

The following patterns are considered violations:

<!-- prettier-ignore -->
```css
a { color: pink; }
```

The following patterns are _not_ considered violations:

<!-- prettier-ignore -->
```css
a { color: pink; }
\n
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.7 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.6 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.5 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.4 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.3 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.2 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.1 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3.5 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-5.0.0 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3.4 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3.3 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3.2 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3.1 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.3 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.2.3 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.2.2 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.2.1 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.2 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md
trusty-cms-4.1.9 node_modules/stylelint/lib/rules/no-missing-end-of-source-newline/README.md