Re:Airbnb JavaScript Style Guide
by neebz on Friday July 03, 2015 @07:01AM
(#9824743)
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.
Re:Airbnb JavaScript Style Guide
by mik3y on Friday July 03, 2015 @09:56AM
(#9825586)
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.
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.