Skip to content

Commit

Permalink
Linted and re-indentation + added editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nico3333fr committed Apr 10, 2017
1 parent 9f89afe commit b6a5f68
Show file tree
Hide file tree
Showing 8 changed files with 1,138 additions and 1,105 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,scss,css,html,hbs,twig,json}]
indent_style = space
indent_size = 4
2 changes: 1 addition & 1 deletion demo/index-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 class="js-accordion__header">Un accordéon animé avec sélection multiple
<h2 class="js-accordion__header">… pas ouvert par défaut</h2>
<div class="js-accordion__panel">

<p>Oui, ça marche aussi.</p>
<p><span tabindex="0">Oui, ça marche aussi (ce texte est focusable)</span>.</p>

</div>

Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 class="js-accordion__header">An accordion animated multi-selectable…</h2>
<h2 class="js-accordion__header">… not opened by default</h2>
<div class="js-accordion__panel">

<p>Yes, it rocks too.</p>
<p><span tabindex="0">Yes, it rocks too.</span></p>

</div>

Expand Down
Loading

0 comments on commit b6a5f68

Please sign in to comment.