From 198b41c8c2cd726b875615023b2b37b213040ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 10 Jul 2023 18:19:52 +0200 Subject: [PATCH] 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 --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) 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