Skip to content

Commit

Permalink
add EditorConfig for happiness :) (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokeyrhyme authored and xymostech committed Oct 11, 2016
1 parent ad85a68 commit 05f3f0c
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# EditorConfig is awesome: http://EditorConfig.org

# https://github.com/jokeyrhyme/standard-editorconfig

# top-most EditorConfig file
root = true

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

# Set default charset
[*]
charset = utf-8

# Other good defaults
[*]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

# HTML
[*.{htm,html}]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

# JavaScript, JSX
[*.{js,jsx}]
indent_size = 4
indent_style = space

# JSON
[*.json]
indent_size = 2
indent_style = space

# YAML
# http://yaml.org/spec/1.2/2009-07-21/spec.html#id2576668
[*.{yaml,yml}]
indent_size = 2
indent_style = space

0 comments on commit 05f3f0c

Please sign in to comment.