Skip to content

Commit d0f8e40

Browse files
committed
chore: add .gitattributes to normalize line endings
1 parent f590a54 commit d0f8e40

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

‎.env-auditorrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# env-auditor configuration
2-
# https://github.com/SemTiOne/env-check
2+
# https://github.com/SemTiOne/env-auditor
33

44
# Suppress internal tool variables that env-auditor reads from the environment
55
ignore_keys = ["NO_COLOR", "FORCE_COLOR"]

‎.gitattributes‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Normalize line endings across platforms
2+
* text=auto
3+
*.py text eol=lf
4+
*.toml text eol=lf
5+
*.md text eol=lf
6+
*.yml text eol=lf
7+
*.yaml text eol=lf
8+
*.env text eol=lf
9+
*.sh text eol=lf
10+
*.cfg text eol=lf
11+
*.ini text eol=lf
12+
*.txt text eol=lf
13+
14+
# Binary files — never touch line endings
15+
*.png binary
16+
*.jpg binary
17+
*.jpeg binary
18+
*.gif binary
19+
*.ico binary
20+
*.whl binary
21+
*.tar.gz binary
22+
*.zip binary

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ htmlcov/
4646
.DS_Store
4747
Thumbs.db
4848

49-
# Environment files (never commit real secrets)
49+
# Environment files
5050
.env
5151
.env.local
5252
.env.production

0 commit comments

Comments
 (0)