I've pushed .editorconfig files for the libstdc++-v3 sub-directory: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/663071.html
As mentioned there, I'll experiment with similar files for the rest of the tree. I will share those files and it would be helpful if people who work on the rest of the tree could test them, because most of what I do is isolated to the libstdc++-v3 dir!