eclint
eclint copied to clipboard
Empty file with single empty line throws an "expected final newline" error
Empty files in the project, which do have just one single empty line (as shown below) throw errors when insert_final_newline = true is set in the .editorconfig.

eclint check
#> src/app/components/about/about.component.scss
# 01:01 ❌ expected final newline
Is that an expected behaviour? I would argue, that this file does end with an empty line. Even if it's the only line it has.
This also happens with completely empty files, which is a bit silly