In c# where is a setting "EnforceCodeStyleInBuild" that allows to fail build if code doesn't align with rules from .editorconfig. C++ supports editorconfig as well, but I can't find a way how to fail build if there is a mistake in formatting as we can do in c#.
I expect that editirconfig in c++ can affect build.