Skip to content

Commit

Permalink
🔧 Add editor config file
Browse files Browse the repository at this point in the history
  • Loading branch information
LizzAy committed Mar 22, 2018
1 parent e34ab18 commit 2005b09
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines
# Newline ending every file
# Trim trailing whitespaces
# Set charset
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

# 4 space indentation
[*.js]
indent_style = space
indent_size = 4

# 2 space indentation
[*.{yml,json}]
indent_style = space
indent_size = 2

0 comments on commit 2005b09

Please sign in to comment.