Skip to content

Commit

Permalink
chore: add .gitattributes file
Browse files Browse the repository at this point in the history
Avoid git warnings after run the linter in windows specifing the end of line type  or each file extension
  • Loading branch information
Tommytrg committed Oct 18, 2022
1 parent 7a544d1 commit 3e4da32
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* text=auto

# Overwrite the above and declare files that will always have
# LF line endings on checkin and checkout
*.env text eol=lf
*.gql text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.scss text eol=lf
*.sh text eol=lf
*.svgtext eol=lf
*.ts text eol=lf
*.vue text eol=lf
*.xml text eol=lf
*.yml text eol=lf

*.png binary
*.jpg binary
*.ico binary

0 comments on commit 3e4da32

Please sign in to comment.