aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2023-07-10 18:19:52 +0200
committerGitHub <noreply@github.com>2023-07-10 18:19:52 +0200
commit198b41c8c2cd726b875615023b2b37b213040ad3 (patch)
tree838e92417732ae8207d11110bb15ae84861b26ff
parent2b6b5e0a3ba3029ec3ad1525a178920765e3adf1 (diff)
downloadjquery-198b41c8c2cd726b875615023b2b37b213040ad3.tar.gz
jquery-198b41c8c2cd726b875615023b2b37b213040ad3.zip
Build: Make sure `*.cjs` & `*.mjs` files use UNIX line endings as well
We've had this rule for `*.js` files so far but we now have two new JS extensions. Closes gh-5290
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index b7ca95b5b..5832a0194 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,4 +2,7 @@
* text=auto
# JS files must always use LF for tools to work
+# JS files may have mjs or cjs extensions now as well
*.js eol=lf
+*.cjs eol=lf
+*.mjs eol=lf