On index
kind of files when you just export 2 or more imported modules directly, cursor adds two line break at the end.
This is how you can reproduce it, create a new typescript file with this:
export { Buffer } from 'node:buffer';
export { randomUUID } from 'node:crypto';
Save it and you get automatically two line breaks at the end.
I tried with the following configuration and all extensions disabled:
{
"editor.formatOnSave": false,
"[typescript]": {
"editor.formatOnSave": false,
"files.insertFinalNewline": false
}
}