Currently I solve this by switching to fundamental-mode before saving.
But this is a nuisance, and especially when I forget to switch mode before saving, and don't see it until the change has been committed and pushed (like what happened today).
So it would be nice to have the exclusion automated.
There are some files I would like to exclude from prettier formatting, because they are more readable if I can have one line per declaration:
Currently I solve this by switching to fundamental-mode before saving.
But this is a nuisance, and especially when I forget to switch mode before saving, and don't see it until the change has been committed and pushed (like what happened today).
So it would be nice to have the exclusion automated.