mirror of
https://github.com/uroesch/GitPortable.git
synced 2026-08-24 10:04:09 -05:00
Add .gitattributes and .editorconfig
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# EditorConfig is awesome: http://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = crlf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{ps1,psm1}]
|
||||
end_of_line = crlf
|
||||
|
||||
[*.sh]
|
||||
end_of_line = lf
|
||||
max_line_length = 80
|
||||
|
||||
[*.adoc]
|
||||
max_line_length = 80
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
@@ -0,0 +1,47 @@
|
||||
# Globals
|
||||
text eol=crlf
|
||||
|
||||
# document formats
|
||||
*.adoc text
|
||||
*.html text
|
||||
*.svg text
|
||||
*.txt text
|
||||
*.yml text
|
||||
*.yaml text
|
||||
*.jsn text
|
||||
*.json text
|
||||
*.ini text
|
||||
|
||||
# Git config files
|
||||
.gitignore text
|
||||
.gitattributes text
|
||||
.editorconfig text
|
||||
|
||||
# Source code formats
|
||||
*.sh text eol=lf
|
||||
*.ps1 text eol=crlf
|
||||
*.psm1 text eol=crlf
|
||||
|
||||
# Images formats
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.webm binary
|
||||
*.avif binary
|
||||
|
||||
# Binary formats
|
||||
*.bin binary
|
||||
*.bpm binary
|
||||
*.dll binary
|
||||
*.exe binary
|
||||
*.lib binary
|
||||
*.pat binary
|
||||
bzip2-* binary
|
||||
bzip2_* binary
|
||||
lzma-* binary
|
||||
lzma_* binary
|
||||
uninst binary
|
||||
zlib-* binary
|
||||
zlib_* binary
|
||||
Reference in New Issue
Block a user