If you're unable to configure your editor and code formatter to work around this issue so that code is converted to your preferred format when you open a file and back to the company style when you commit it then the chance of you writing any useful code is exactly zero.