Why don't people dress correctly? Why don't people use the right amount of garlic when cooking? Why is everyone listening to strange music? Your question involves authority, which determines the correctness, which I have not seen.
In addition, I like the code, which is sequentially formatted throughout the file. If you use 1 tab or 3 spaces, I don't care if you use it sequentially. The same thing with braces on the same line or a separate line, it does not matter, just be consistent.
I personally use VS, which initially automatically formats everything for me, and I am completely satisfied with the default set of rules.
source share