vscode-typescript-exportallmodules
vscode-typescript-exportallmodules copied to clipboard
Remove additional newline at end of generated index
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.
@weary-pilgrim I have been looking into it, but I cannot reproduce the second new line. The contents passed to the file edit only contains one new line at the end.
https://github.com/estruyf/vscode-typescript-exportallmodules/assets/2900833/a9a54052-1720-412c-b103-612511a0239e