WebStorm was indenting with spaces and Vim seems to use tabs. The local vimrc is here to enforce space indentation.
@@ -0,0 +1,2 @@
+" To comply with exitsting code
+set expandtab