Skip to content

Commit

Permalink
Added .editorconfig file
Browse files Browse the repository at this point in the history
Mainly to catch trailing whitespace and set default indent levels.
  • Loading branch information
freemanjp committed Nov 3, 2016
1 parent 85a0f21 commit 5ca3f9f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
@@ -0,0 +1,19 @@
# EditorConfig: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Defaults for all editor files
[*]
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

# Files with a smaller indent
[*.{md,yml}]
indent_size = 2

# Jinja2 template files
[*.j2]
end_of_line = lf

0 comments on commit 5ca3f9f

Please sign in to comment.