Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[Makefile]
indent_style = tab
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Normalize all text files to LF in the repository and in the working tree.
# Without this, `core.autocrlf=true` on Windows checks files out as CRLF, so the
# working tree disagrees with what is committed and any tool that compares line
# endings reports differences that are not really there.
* text=auto eol=lf

# Binary files git should never touch.
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.vsix binary
*.tgz binary