Closed dgp1130 closed 7 years ago
Fixed the tabs with a bit of Unix magic.
find . -name "*.js" ! -type d -exec bash -c \
'expand -t 4 "$0" > "$0.spacified" && mv "$0.spacified" "$0"' \
{} \;
It looks good in Github's viewer, hopefully WebStorm will stop complaining now and our editors can stop battling over tabs and spaces.
Somehow the tab configuration in WebStorm between developers seem to be disagreeing and fighting each other. WebStorm is able to figure it out and space correctly, but viewing the code in Github's viewer shows how screwed up the tabs are. I think WebStorm only sets the lines you edit, it doesn't reset the entire file to use the tab setting you specify. We need to go through and properly reset everything to use 4-spaces as tabs, since that seems to be the default.