This is just an idea post, hit me up if you want to make it with me.
Precedent is the name for this IMAGINARY product, a code formatter with no config, well apart from one, you elect a team lead to set the precedent, their code style is analysed and the code is formatted to fit that style, so if the leads code style changes that changes the overall formatting. After all what else is a team wide formatted for but to make the lead happy! 😆
Okay okay, well maybe we could instead average the entire teams code and create a formatting rule set based on that.
But even better, how about it finds the idiomatic style from the community and makes everyone do that?
So AI decentralised code formatting what do you think?