This is a basic config which is required in all languages. It's the basic config for IDEs and Editors on how to handle formatting, etc.
Create .editorconfig file then change the following as you wish:
# EditorConfig is awesome: https://EditorConfig.org