From 0cb615428d6c85c5ccf7dcaae3ae44ca82b3f8c4 Mon Sep 17 00:00:00 2001 From: Waleed Date: Thu, 16 Oct 2025 15:50:26 -0700 Subject: [PATCH] feat(powershell): add gitattributes to prevent lint issues for powershell users (#1661) --- .gitattributes | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..8347b118c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,34 @@ +# Set default behavior to automatically normalize line endings +* text=auto eol=lf + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout +*.ts text eol=lf +*.tsx text eol=lf +*.js text eol=lf +*.jsx text eol=lf +*.json text eol=lf +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.toml text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.sh text eol=lf +*.bash text eol=lf +Dockerfile* text eol=lf +.dockerignore text eol=lf +.gitignore text eol=lf +.gitattributes text eol=lf + +# Denote all files that are truly binary and should not be modified +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary +*.pdf binary