Editor Config seems like the wrong way to go about solving the problem.
Using a static code tool + a beautifier has the benefits of decoupling a project's edit/build/test cycle from preparing its repo for distribution. i.e. While working, you get to write code the way you like.
Then run the styler on your code before committing.
And then you don't have to fight your editor any more. ;)