Skip to content

Commit

Permalink
Dev: Create .editorconfig file for maintaining consistent coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoub-belarbi committed May 11, 2017
1 parent 89d75c1 commit c81d3ba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# top-most EditorConfig file
root = true

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

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,rb,html,html.erb,yml,json}]
charset = utf-8
indent_style = space
indent_size = 2

0 comments on commit c81d3ba

Please sign in to comment.