From 1f9fe8861fe1e6df447e91fa975fac692ad4d463 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= <mondejar1994@gmail.com>
Date: Thu, 14 May 2020 18:30:14 +0200
Subject: [PATCH] Fix 'wslint' command that isn't linting the simple-icons.json
 file. (#3079)

* Avoid to insert a final newline on '_data/simple-icons.json' file config for '.editorconfig'.

* Fix wslint script, add final newline to simple-icons.json and revert .editorconfig configuration.
---
 _data/simple-icons.json | 2 +-
 package.json            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_data/simple-icons.json b/_data/simple-icons.json
index 3f47b02d7..fcb4be143 100644
--- a/_data/simple-icons.json
+++ b/_data/simple-icons.json
@@ -6581,4 +6581,4 @@
             "source": "https://github.com/zulip/zulip/"
         }
     ]
-}
\ No newline at end of file
+}
diff --git a/package.json b/package.json
index 2078f64a9..4b33394c1 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
     "our-lint": "node scripts/lint.js",
     "jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
     "svglint": "svglint icons/* --ci",
-    "wslint": "editorconfig-checker -exclude *.svg",
+    "wslint": "editorconfig-checker -exclude \\.svg$",
     "prepublishOnly": "npm run build",
     "postpublish": "npm run clean",
     "test": "jest",
@@ -42,4 +42,4 @@
     "svgo": "svgo --config=./.svgo.yml",
     "get-filename": "node scripts/get-filename.js"
   }
-}
\ No newline at end of file
+}