Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Does anybody have experience integrating style guides in your existing code base?

Our old code base doesn't follow any style guide. After adding a style guide it requires us to go back and fix all our old files which is time consuming + kinda messes up with the git history.



Yes: Check in a unittest that runs your linter, and check in the config as well (eg jshintrc). Tackle all the flagrant style issues until the test passes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: