You can override IDE code style settings with settings from EditorConfig (https://editorconfig.org/).
To use EditorConfig settings, you must install and enable the EditorConfig plugin. To configure the style in EditorConfig, open settings (&shortcut:ShowSettings;), navigate to Editor | Code Style and select the Enable EditorConfig support checkbox.
To export the current IDE code style settings into the .editconfig file, click Export.