I want a formatter for VSCode which preseves the number of lines on save and only changes the tabs and indentations

As te title says. I could not find a way to just do that. The formatter are either pretty aggressive and change the number of lines to their liking or actually do nothing and not even fix the tabs and indentations.

I changed a bunch of prettier settings none of them helped for doing exactly what I wanted. for example in .prettierrc:

{
  "proseWrap": "preserve",
  "printWidth": 160,
  "bracketSameLine": true,
  "singleAttributePerLine": false
}