RT Benjamin Pasero in the next version of @code, auto save can be configured as a workspace setting and per language.
A new setting allows to auto save only when there are no errors in the file.
try this out today from our insiders channel at https://code.visualstudio.com/insiders/
https://twitter.com/BenjaminPasero/status/1735189938558083072