diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-07-10 18:19:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 18:19:52 +0200 |
commit | 198b41c8c2cd726b875615023b2b37b213040ad3 (patch) | |
tree | 838e92417732ae8207d11110bb15ae84861b26ff | |
parent | 2b6b5e0a3ba3029ec3ad1525a178920765e3adf1 (diff) | |
download | jquery-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-- | .gitattributes | 3 |
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 |