Here you can find code style that we use in our projects.
Basically, we just force 2 spaces for everything, because it makes our lives easier.
To install IntelliJ config on Mac OS: Copy content of intellij-idea
dir to ~/Library/Preferences/IDE_NAME/codestyles