Skip to content

Commit

Permalink
Add editorconfig to fix tab/space indentation nightmares
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed Mar 9, 2019
1 parent 449a198 commit b5b90b7
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 (see EditorConfig.org)
root = true

# Unix-style newlines with a newline ending every file
# Tab indentation most places
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
trim_trailing_whitespace = true

# YAML files require spaces
[*.{yaml,yml}]
indent_style = space
indent_size = 4

0 comments on commit b5b90b7

Please sign in to comment.