From a7ae47ff00a9f013b7ca7284a80c91a50fdedd4f Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Thu, 12 Feb 2026 19:53:59 +0100 Subject: [PATCH] [chore](root): add git attrs and ignore Co-authored-by: Codex Signed-off-by: Stanislaw Grams --- .gitattributes | 24 ++++++++++++++++++++++++ .gitignore | 29 +++++++++++++++++++++++++---- 2 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ba1522d --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore index f2bb475..62a07af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,26 @@ -# SPDX-FileCopyrightText: 2025 Stanislaw Grams -# -# SPDX-License-Identifier: BSD-2-Clause - +# Rust /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.*