Create a .editorconfig file You SHOULD share your configuration by adding an. editorconfig file to the root of your solution, making sure to add it to source control. For more details, see our General coding standard (v4 or later).