You can open the Command Palette and search for “Preferences: Open Workspace Settings (JSON)”.
Then, to ensure auto-formatting is turned off, set the following setting to false:
false
"omnisharp.enableEditorConfigSupport": false