You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could take a horizontal approach of implementing the style guide. E.g. update all services, then update all directives. We could explore ways of automating this.
We could also take a vertical approach. This would consist of identifying discrete systems in our codebase which need refactoring/redesigning, and then applying the style guide to the new/refactored code. This overlaps a bit with Architectural problems and anti-patterns in our code. #9050.
We can create automated checks to enforce as many rules in the style guide as possible.
We can build a CLI tool, e.g. Yeoman generator or something like Angular-CI, which helps us scaffold files which follow some of these patterns and encourage consistency.
Goal
Pick/define an AngularJS style guide:
General thoughts