Thanks for the link! Yeah editorconfig is definitely a move in the right direction, but there are still the problem with LSP mentioned in the blog post which editorconfig does not address - Many language servers take in project-specific configuration for the language server itself and at the moment this is not standardized anywhere to declare it in a generic way.
Precisely, .editorconfig has a project scope and is recognized by a multitude of IDEs and editors. Perhaps you should talk to the authors of .editorconfig to find out if what you want can be carried by their project.
Maybe you should check this project:
https://editorconfig.org/
Regards,