From 69d5d3eee9f6ed166df432a0ea1fe8b0614fdb46 Mon Sep 17 00:00:00 2001 From: Amphiluke Date: Tue, 2 Jul 2019 14:15:40 +0700 Subject: [PATCH 1/2] Exclude *.less from Linguist language statistics --- .gitattributes | 1 + .npmignore | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8e1d2d1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +test/*.less linguist-detectable=false diff --git a/.npmignore b/.npmignore index 0ed1633..903e03d 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ .idea +.gitattributes .eslint* rollup.config.js test From 24cea6ae10a989e101a5ea07f18b5869b6b07668 Mon Sep 17 00:00:00 2001 From: Amphiluke Date: Tue, 2 Jul 2019 14:30:51 +0700 Subject: [PATCH 2/2] Correct file mask for Linguist detectable --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 8e1d2d1..f0f7d39 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -test/*.less linguist-detectable=false +*.less linguist-detectable=false