mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2024-12-27 11:42:48 +01:00
41abf66445
- 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.
51 lines
791 B
Plaintext
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
|