Skip to content

Commit 03e36cb

Browse files
committed
chore: add .editorconfig and .gitattributes for environment consistency
1 parent e975b5b commit 03e36cb

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# Force bash scripts to always use LF, so they work within a container or on Linux.
5+
*.sh text eol=lf
6+
7+
# Denote all files that are truly binary and should not be modified.
8+
*.png binary
9+
*.jpg binary
10+
*.jpeg binary
11+
*.gif binary
12+
*.ico binary
13+
*.svg text

0 commit comments

Comments
 (0)