Do you have .editorconfig file in your project? Settings from there will overwrite your Code Style settings (and that is expected behaviour -- that's the whole nature/purpose of EditorConfig plugin).
P.S.
IDE should notify you about such behaviour (does for me). For example: