Browse Source

Update .gitattributes to include jQuery files (#20537)

Addresses #20406
Christian Wenz 5 years ago
parent
commit
d2f3d80c19
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .gitattributes

+ 6 - 0
.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