💅 The extends: 'stylistic'
property in a configuration file enables this rule.
🔧 The --fix
option on the command line can automatically fix some of the problems reported by this rule.
Require or disallow newline at the end of files.
Enforce either (without newline at end):
or this (with newline at end):
The following values are valid configuration:
- "always" - enforces that files end with a newline
- "editorconfig" - requires or disallows final newlines based your projects
.editorconfig
settings (viainsert_final_newline
) - "never" - enforces that files do not end with a newline'
- eol-last from eslint