Skip to content

Commit

Permalink
fix: add default automatic EOL conversion to LF for text files
Browse files Browse the repository at this point in the history
  • Loading branch information
philippestoltz committed Sep 7, 2020
1 parent e746884 commit 77e2445
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
# Java sources
*.java text eol=lf
*.properties text eol=lf
# Gradle
*.gradle text eol=lf
*.gradle.kts text eol=lf

# Kotlin sources
*.kt text eol=lf
*.kts text eol=lf

# Scripts
*.sh text eol=lf
*.bat text eol=crlf

# Documents
*.xml text eol=lf
*.json text eol=lf
*.jsonld text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.txt text eol=lf

#Docker files
.env text eol=lf
Dockerfile text eol=lf

#Jenkins
Jenkinsfile text eol=lf
# normalize text files automatically
* text=auto
*.bat text eol=crlf

0 comments on commit 77e2445

Please sign in to comment.