Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

[BUG] It always gives "error Newline required at end of file but not found eol-last" #5

@trusktr

Description

@trusktr

No matter how the file ends, it always results in

error  Newline required at end of file but not found  eol-last

For example, I've tried a file ending with these of last lines, and they all result in the same error:

<span>blah</span>
<script>
console.log('hello')
</script>
<span>blah</span>
<script>
console.log('hello')

</script>
<span>blah</span>
<script>
console.log('hello')
</script>

In reality, I have lots more in my file, but it ends with a script tag, and no matter how I modify the last few lines (similarly to the examples) I always get that error.

I can simply disable eol-last for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions