Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 490 Bytes

eol-last.md

File metadata and controls

26 lines (16 loc) · 490 Bytes

eol-last

Require or disallow newline at the end of files.

Enforce either (without newline at end):

<div>test</div>

or this (with newline at end):

<div>test</div>
{{! newline would be here }}

Configuration

The following values are valid configuration:

  • string -- "always" enforces that files end with a newline, "never" enforces that files do not end with a newline

Related Rules