From 2aa973a69276a8a18252c78edc0fc4c57d2ef5fb Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Wed, 6 Nov 2019 19:03:51 +1030 Subject: [PATCH] Small linting --- app.js | 6 +++--- package-lock.json | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/app.js b/app.js index e202769..11d4d68 100644 --- a/app.js +++ b/app.js @@ -97,10 +97,10 @@ app.set('view engine', 'hbs'); handlebars = handlebars.create({ helpers: { // Language helper - __: () => { return i18n.__(this, arguments); }, - __n: () => { return i18n.__n(this, arguments); }, + __: () => { return i18n.__(this, arguments); }, // eslint-disable-line no-undef + __n: () => { return i18n.__n(this, arguments); }, // eslint-disable-line no-undef availableLanguages: (block) => { - let total = '' + let total = ''; for(const lang of i18n.getLocales()){ total += block.fn(lang); } diff --git a/package-lock.json b/package-lock.json index b2b0acf..f95a6ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6519,14 +6519,6 @@ "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==" }, - "moment-recur": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/moment-recur/-/moment-recur-1.0.7.tgz", - "integrity": "sha1-TVCSr2SK7e1q/lwT7zjFKQHJlBk=", - "requires": { - "moment": "<3.0.0" - } - }, "mongodb": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.3.3.tgz",