1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Add .gitattributes file and fix line endings to match. (#1004)

* NEW: .gitattributes
* Fix line endings
* Fix File Endings
This commit is contained in:
Tom Limoncelli
2020-12-25 10:18:01 -05:00
committed by GitHub
parent e9f4257ad2
commit 18d99fd30f
12 changed files with 112 additions and 82 deletions

30
.gitattributes vendored Normal file
View File

@ -0,0 +1,30 @@
* text=auto
# Git itself
.gitattributes eol=lf
.gitigore eol=lf
# dnscontrol files are unix line-endings:
*.md text eol=lf
*.js text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.zone text eol=lf
*.tsv text eol=lf
# shell scripts are unix line-endings:
*.sh text eol=lf
# powershell scripts are DOS line-endings:
*.ps1 text eol=crlf
*.nuspec text eol=crlf
# Go code are unix line-endings:
*.go text eol=lf
go.mod text eol=lf
go.sum text eol=lf
# Graphics are binary:
*.jpg binary
*.png
*.svg