Skip to content

Commit

Permalink
Added gitattributes and updated editorconfig files
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Sep 21, 2019
1 parent c35545a commit ec98c5d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ root = true
[*]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
*.sh -lf
gradlew -lf

# Sources
*.c text diff=c
*.cc text diff=cpp
*.cxx text diff=cpp
*.cpp text diff=cpp
*.c++ text diff=cpp
*.hpp text diff=cpp
*.h text diff=c
*.h++ text diff=cpp
*.hh text diff=cpp

# Compiled Object files
*.o binary
*.a binary
*.obj binary
*.lib binary

# Project files
#*.sln merge=binary
#*.vcxproj merge=binary

0 comments on commit ec98c5d

Please sign in to comment.