Added .editorconfig file

Mainly to catch trailing whitespace and set default indent levels.
This commit is contained in:
John Freeman 2018-08-26 11:10:47 +00:00
parent 94abd7e939
commit 88eb0f26c8
1 changed files with 27 additions and 0 deletions

27
.editorconfig Normal file
View File

@ -0,0 +1,27 @@
# 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
# YAML is fussy about indenting and charset
[*.yml]
indent_style = space
indent_size = 2
continuation_indent_size = unset
charset = utf-8
# Markdown is fussy about indenting
[*.md]
indent_style = space
indent_size = 4
# Jinja2 template files
[*.j2]
end_of_line = lf