Skip to content

Remove additional newline at end of generated index #25

Open
@weary-pilgrim

Description

@weary-pilgrim

Currently (v2.7.0), when an index generates, it contains a second new-line at the end of the file:

export * from './a';
export * from './b';

This drives my eslint bananas, but because the plugin is generating it automatically, I can't delete the extra line in the VSCode; I have to either delete it in another editor or remove it with eslint --fix.

I have observed this behavior when a folder has an listener and and one or more excluded files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions