From ea16268dd4cb2e58b1ff73109ac40a64ec391094 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Fri, 8 Dec 2023 14:10:01 -0800 Subject: [PATCH] Add JavaScript .cjs and .mjs extensions --- Drupal.gitattributes | 2 ++ Java.gitattributes | 2 ++ Servoy.gitattributes | 2 ++ Web.gitattributes | 2 ++ community/Ballerina.gitattributes | 2 ++ 5 files changed, 10 insertions(+) diff --git a/Drupal.gitattributes b/Drupal.gitattributes index c5f1585..ac34b77 100644 --- a/Drupal.gitattributes +++ b/Drupal.gitattributes @@ -25,6 +25,8 @@ *.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php *.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php *.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.mjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 +*.cjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 *.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff --git a/Java.gitattributes b/Java.gitattributes index 39c7184..f62ade6 100644 --- a/Java.gitattributes +++ b/Java.gitattributes @@ -14,6 +14,8 @@ *.htm text diff=html *.html text diff=html *.js text +*.mjs text +*.cjs text *.jsp text *.jspf text *.jspx text diff --git a/Servoy.gitattributes b/Servoy.gitattributes index f8ffe80..9acf06a 100644 --- a/Servoy.gitattributes +++ b/Servoy.gitattributes @@ -10,3 +10,5 @@ *.sec -text *.css text diff=css *.js seol=lf +*.mjs seol=lf +*.cjs seol=lf diff --git a/Web.gitattributes b/Web.gitattributes index c5ca4f8..996deab 100644 --- a/Web.gitattributes +++ b/Web.gitattributes @@ -26,6 +26,8 @@ *.inc text *.ini text *.js text +*.mjs text +*.cjs text *.json text *.jsx text *.less text diff --git a/community/Ballerina.gitattributes b/community/Ballerina.gitattributes index ec244c0..961c640 100644 --- a/community/Ballerina.gitattributes +++ b/community/Ballerina.gitattributes @@ -13,6 +13,8 @@ *.htm text diff=html *.html text diff=html *.js text +*.mjs text +*.cjs text *.json text *.properties text *.sh text eol=lf