-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement AngularJS style guide #9049
Comments
I've been reading through the John Papa Styleguide, and so far I really like what I see. I think the stuff he recommends in there will help aid comprehension of our directives considerably. Specifically I'm thinking about the "Bindings up top" and the "LIFT" recommendations. The That guide also references to Todd Motto's Styleguide and mentioned some subtle differences with it, and now that the meeting was pushed again, I plan to read through that next. |
I've read through the linked style guides. Here are my thoughts:
|
I didn't read "Folders-by-Feature Structure" as a really strict guideline, more about trying to keep to the LIFT principle mentioned in the styleguide (which I love). I think the important part is that we don't try to break up files by type, but instead group things in a sensible way when needed, which we more or less already do. |
Here's a summary of my thoughts:
|
Here's a spreadsheet to encapsulate our latest thoughts: https://docs.google.com/spreadsheets/d/1YBZoP133InkoWlAaLQoaE6Fjc5XpfC0sji5W8d8OUt4/edit?usp=sharing |
Should we close this? |
We closed the PR, seems fitting we close the issue too. |
Goal
Pick/define an AngularJS style guide:
General thoughts
The text was updated successfully, but these errors were encountered: