remove some non standard lint rules

This commit is contained in:
JFH
2021-01-31 23:16:43 +01:00
parent e02fddb224
commit 47c365bf2a
298 changed files with 2110 additions and 29712 deletions

View File

@@ -50,7 +50,7 @@ export const setStrings = function (type, obj, ids) {
const parent = document.getElementById('svg_editor').parentNode;
Object.entries(obj).forEach(([sel, val]) => {
if (!val) {
console.log(sel); // eslint-disable-line no-console
console.log(sel);
return; // keep old text when has no translation
}
@@ -80,7 +80,7 @@ export const setStrings = function (type, obj, ids) {
break;
}
} else {
console.log('Missing element for localization: ' + sel); // eslint-disable-line no-console
console.log('Missing element for localization: ' + sel);
}
});
};
@@ -355,7 +355,7 @@ export const putLocale = async function (givenParam, goodLangs) {
langParam = navigator.language;
}
console.log('Lang: ' + langParam); // eslint-disable-line no-console
console.log('Lang: ' + langParam);
// Set to English if language is not in list of good langs
if (!goodLangs.includes(langParam) && langParam !== 'test') {