Skip to content

Commit

Permalink
DP01 - chore(app): Se agregan editorconfig y gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephano Apiolaza committed Nov 20, 2017
1 parent cf53036 commit 7c97c35
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
40 changes: 40 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto

#
# The above will handle all files NOT found below
#
# These files are text and should be normalized (Convert crlf => lf)
*.css text
*.df text
*.htm text
*.html text
*.java text
*.js text
*.json text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.sh text
*.tld text
*.txt text
*.tag text
*.tagx text
*.xml text
*.yml text

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary
*.so binary
*.war binary
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Customer
!.gitattributes
!.editorconfig

# Compiled class file
*.class

Expand Down Expand Up @@ -74,6 +70,10 @@ $RECYCLE.BIN/
!.htaccess
*~

# Customer
!.gitattributes
!.editorconfig

# Mac OS X
.DS_Store
.AppleDouble
Expand Down

0 comments on commit 7c97c35

Please sign in to comment.