From d2f3d80c19d93e5d1cd0a12b3194478f7b81bca8 Mon Sep 17 00:00:00 2001 From: Christian Wenz Date: Wed, 17 Jun 2020 15:17:29 +0200 Subject: [PATCH] Update .gitattributes to include jQuery files (#20537) Addresses #20406 --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 3225eae5e0..83d07eb8f2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -71,3 +71,9 @@ gradlew eol=lf #*.PDF diff=astextplain #*.rtf diff=astextplain #*.RTF diff=astextplain + +############################################################################### +# Make sure jQuery files always have LF as line endings (to pass SRI checks) +############################################################################### +jquery*.js eol=lf +jquery*.map eol=lf