lint: Add dangling commas in JavaScript objects.

This commit is contained in:
Tim Abbott
2017-01-11 15:17:43 -08:00
parent 7ca2d21d97
commit 998dff9e50
63 changed files with 302 additions and 302 deletions

View File

@@ -7,19 +7,19 @@
var Cache = require('i18next-localstorage-cache');
var backendOptions = {
loadPath: '/static/locale/__lng__/translations.json'
loadPath: '/static/locale/__lng__/translations.json',
};
var callbacks = [];
var initialized = false;
var detectionOptions = {
order: ['htmlTag'],
htmlTag: document.documentElement
htmlTag: document.documentElement,
};
var cacheOptions = {
enabled: true,
prefix: page_params.server_generation + ':'
prefix: page_params.server_generation + ':',
};
i18n.use(XHR)
@@ -30,12 +30,12 @@
keySeparator: false,
interpolation: {
prefix: "__",
suffix: "__"
suffix: "__",
},
backend: backendOptions,
detection: detectionOptions,
cache: cacheOptions,
fallbackLng: 'en'
fallbackLng: 'en',
}, function () {
var i;
initialized = true;