Skip to content

Commit

Permalink
Add .editorConfig for consistency (exercism#104)
Browse files Browse the repository at this point in the history
Refrence Issue exercism#92
  • Loading branch information
aswinmohanme authored and arcuru committed Apr 16, 2017
1 parent b8fd6d0 commit 6fde665
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

#Editor Config is So awesome

#Indicate this is the config of the root
root = true

# Apply the following rules to these file types
[{*.{cpp,cc,c,h,hpp,txt}}]
end_of_line = lf #Unix type line endings
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

#Separate Config for YML files
[*.yml]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

0 comments on commit 6fde665

Please sign in to comment.