Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

1110 [FIX] Fix cross-platform line ending issues for shell scripts on Windows (#1406)

Ritwik G4840622b4dd3
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..b7621a22e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,43 @@
+# Ensure shell scripts always use LF line endings on all platforms
+*.sh text eol=lf
+
+# Ensure other script files use LF line endings
+*.bash text eol=lf
+*.py text eol=lf
+*.js text eol=lf
+*.jsx text eol=lf
+*.ts text eol=lf
+*.tsx text eol=lf
+*.json text eol=lf
+*.yaml text eol=lf
+*.yml text eol=lf
+*.md text eol=lf
+*.txt text eol=lf
+*.sql text eol=lf
+
+# Docker files should use LF
+Dockerfile text eol=lf
+*.Dockerfile text eol=lf
+
+# Configuration files
+*.conf text eol=lf
+*.ini text eol=lf
+*.cfg text eol=lf
+*.env text eol=lf
+*.toml text eol=lf
+
+# Binary files should not be converted
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.ico binary
+*.svg binary
+*.pdf binary
+*.zip binary
+*.tar binary
+*.gz binary
+*.woff binary
+*.woff2 binary
+*.ttf binary
+*.eot binary