Here is a nice little trick to share your IDE’s configuration. Use an .editorconfig file.
It is supported by default by Webstorm which is my IDE of choice, but there are plugins for almost any other editor.
With this file, you will be able to tell you editor, if it should use tabs or spaces, what is the indent size and the charset to be used. It should be placed at the root of your project.
Here is an example with comments:
That is basically all the properties and syntax supported, easy enough. You don’t have to restart Webstorm as it will pick up the config automatically.
Check out this page for more information on each property.