Small linting

master
Mark Moffat 2019-11-06 19:03:51 +10:30
parent d3abc37cb0
commit 2aa973a692
2 changed files with 3 additions and 11 deletions

6
app.js
View File

@ -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);
}

8
package-lock.json generated
View File

@ -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",