From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/mattermost/index.js | 9 +++------ recipes/mattermost/webview.js | 2 -- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'recipes/mattermost') diff --git a/recipes/mattermost/index.js b/recipes/mattermost/index.js index 8f814fa..8ae5c17 100644 --- a/recipes/mattermost/index.js +++ b/recipes/mattermost/index.js @@ -1,13 +1,11 @@ -"use strict"; - module.exports = Franz => class Mattermost extends Franz { async validateUrl(url) { try { const resp = await window.fetch(url, { method: 'GET', headers: { - 'Content-Type': 'application/json' - } + 'Content-Type': 'application/json', + }, }); return resp.status.toString().startsWith('2'); } catch (err) { @@ -16,5 +14,4 @@ module.exports = Franz => class Mattermost extends Franz { return false; } - -}; \ No newline at end of file +}; diff --git a/recipes/mattermost/webview.js b/recipes/mattermost/webview.js index c69c370..1d2a39c 100644 --- a/recipes/mattermost/webview.js +++ b/recipes/mattermost/webview.js @@ -1,5 +1,3 @@ -"use strict"; - module.exports = Franz => { const DIRECT_MESSAGES_INDIVIDUAL = '#sidebar-left .unread-title .DirectChannel__profile-picture'; const DIRECT_MESSAGES_GROUP = '#sidebar-left .unread-title .status--group'; -- cgit v1.2.3-70-g09d2