aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/redditchat/webview.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-05 17:04:09 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-05 17:04:09 +0200
commitd3841b766f9d37d557646003899f67525c5f755f (patch)
tree1bcab990c94f2b05678b7a83ffebe08298500f0b /recipes/redditchat/webview.js
parentchore: repo maintenance (#732) (diff)
downloadferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.gz
ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.zst
ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.zip
chore: add eslint-plugin-unicorn (#733)
Diffstat (limited to 'recipes/redditchat/webview.js')
-rw-r--r--recipes/redditchat/webview.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes/redditchat/webview.js b/recipes/redditchat/webview.js
index 14f7f6c..19b306c 100644
--- a/recipes/redditchat/webview.js
+++ b/recipes/redditchat/webview.js
@@ -1,7 +1,6 @@
1module.exports = Ferdi => { 1module.exports = Ferdi => {
2 // Regular expression for (*) or (1), will extract the asterisk or the number 2 // Regular expression for (*) or (1), will extract the asterisk or the number
3 // eslint-disable-next-line no-useless-escape 3 const titleRegEx = /^\(([\d*])\)/;
4 const titleRegEx = /^\(([\*\d])\)/;
5 const getMessages = function unreadCount() { 4 const getMessages = function unreadCount() {
6 let directCount = 0; 5 let directCount = 0;
7 let indirectCount = 0; 6 let indirectCount = 0;