Skip to content
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

Add Ember Suave & Ember CLI Template Lin #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rsocci
Copy link
Contributor

@rsocci rsocci commented Jul 13, 2016

  • Add ember suave and make changes to abide by styleguide
  • Add ember-cli-template-lint

@duggiefresh
Copy link
Member

this might be somewhat related to this PR, but have you seen Rob's addon for template linting?

https://github.com/rwjblue/ember-cli-template-lint

@rsocci rsocci force-pushed the add-ember-suave branch from fbaf6a8 to 73b2a6d Compare July 13, 2016 19:10
@rsocci
Copy link
Contributor Author

rsocci commented Jul 13, 2016

@duggiefresh Tru dat! Added it

@rsocci rsocci changed the title Add Ember Suave Add Ember Suave & Ember CLI Template Lin Jul 13, 2016
</article>
<article class="post" id="post_3"> This is an article for John Doe.</article>
<article class="post" id="post_1"> This is an article for Jane Doe.</article>
<article class="post" id="post_2"> This is another article for Jane Doe.</article>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to clean up the extra spaces in template?

Copy link
Contributor

@michaeldupuisjr michaeldupuisjr Jul 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since article is a block element, I put the contents on a new line, but I do think the single line version is very readable. What are your thoughts on this @Ctannerweb – should the content of block elements (div, section, etc.) always be on a new line or should we exercise personal preference?

Copy link

@cory-tanner cory-tanner Jul 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is only text inside an element then 1 line is perfect. Say you need a span inside a <h1> then it would be multiple lines. @michaeldupuisjr @Daniel-Xu

Is the space before This needed? If there needs to be padding it is normally done with CSS

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ctannerweb No, I forgot to remove spaces in some of these files 😁

* Add ember suave and make changes to abide by styleguide
* Add `ember-cli-template-lint`
@rsocci rsocci force-pushed the add-ember-suave branch from 73b2a6d to 4512e5c Compare July 15, 2016 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants