Skip to content

Commit c627b7d

Browse files
committed
wip
1 parent 3a75e2f commit c627b7d

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Default: treat as text, normalize to LF in the repository
2+
* text=auto eol=lf
3+
4+
# Typical source files (explicit, but the default already covers these)
5+
*.c text eol=lf
6+
*.cpp text eol=lf
7+
*.h text eol=lf
8+
*.py text eol=lf
9+
*.js text eol=lf
10+
*.ts text eol=lf
11+
*.sh text eol=lf
12+
*.yaml text eol=lf
13+
*.yml text eol=lf
14+
*.json text eol=lf
15+
*.css text eol=lf
16+
*.cs text eol=lf
17+
18+
19+
# Windows-native scripts that often *must* be CRLF in the working tree
20+
# (repo still stores LF; checkout converts to CRLF)
21+
*.bat text eol=crlf
22+
*.cmd text eol=crlf
23+
*.ps1 text eol=crlf
24+
25+
# Binary files (never touch line endings)
26+
*.png -text
27+
*.jpg -text
28+
*.zip -text
29+
*.pdf -text

0 commit comments

Comments
 (0)