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:
30
.gitattributes
vendored
Normal file
30
.gitattributes
vendored
Normal 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
|
Reference in New Issue
Block a user