[chore](root): add git attrs and ignore

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-12 19:53:59 +01:00
parent 2dfe4a30dc
commit a7ae47ff00
2 changed files with 49 additions and 4 deletions
+24
View File
@@ -0,0 +1,24 @@
# Enforce LF for all text files to prevent CRLF or mixed EOLs
* text=auto eol=lf
# Treat common binary types as binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.bz2 binary
*.xz binary
*.7z binary
*.tar binary
*.mp4 binary
*.mov binary
*.mp3 binary
*.wav binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary
+25 -4
View File
@@ -1,5 +1,26 @@
# SPDX-FileCopyrightText: 2025 Stanislaw Grams <stanislawgrams@gmail.com> # Rust
#
# SPDX-License-Identifier: BSD-2-Clause
/target/ /target/
**/*.rs.bk
Cargo.lock
# IDEs/Editors
/.idea/
/.vscode/
*.swp
*.swo
# macOS
.DS_Store
# Logs
*.log
# Coverage/Bench
*.profraw
*.lcov
coverage/
benchmarks/
# Env
.env
.env.*