cgross / generator-cg-angular

Yeoman generator for Enterprise Angular projects.
MIT License
592 stars 198 forks source link

Fix inconsistent indentation. #85

Closed aretaic closed 10 years ago

aretaic commented 10 years ago

Many templates had indentation where some lines were indented with tabs and others with 4 spaces, in the same file. I did a sed -i across all .js files containing tabs and replaced them with 4 spaces each. The result is source code which is consistently beautiful across different editors.

Note: There were a few foo-spec.js files which appeared to use 2 tabs for indentation on some lines. I left them alone since they weren't tabs, but they remain inconsistent with the 4-space indents everywhere else in the project.

cgross commented 10 years ago

Awesome. Thanks so much. Been meaning to do this myself.