1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-23 22:42:47 +01:00
.NET-Community-Toolkit/.gitattributes
Nirmal Guru 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00

51 lines
791 B
Plaintext

# Set default file-type attributes
# All file types
* text=auto
# Markups
*.md text=auto diff=markdown
*.mdx text=auto diff=markdown
# Solutions
*.sln text=auto eol=crlf
*.slnx text=auto
# Projects
*.*proj text=auto
*.tasks text=auto
*.props text=auto
*.targets text=auto
# Sources
*.cs text=auto diff=csharp
*.csx text=auto diff=csharp
*.resx text=auto
# Scripts
*.in text eol=lf
*.sh text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
# Images
*.png binary
*.jpg binary
*.gif binary
# Keys
*.snk binary
*.pfx binary
*.cer binary
# Others
# Preserve Line endings in diff and patch files
*.diff -text
*.patch -text
# Exclude git meta files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore