Skip to content

Commit 7741e4b

Browse files
author
alxndrsn
committed
fix lint violations
1 parent 0138b11 commit 7741e4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/util/transifex.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ class PluralForms {
8383
const badWhitespace = form.match(/^\s+|\s+$|\s\s+/);
8484
if (badWhitespace) {
8585
const badLength = badWhitespace[0].length;
86-
console.error(`unexpected white space in translation string '${path}':`);
87-
console.error(` [${message}]`);
88-
console.error(` [${''.padStart(badLength, '^').padStart(badWhitespace.index+badLength, ' ').padEnd(message.length, ' ')}]`);
86+
console.error(`unexpected white space in translation string '${path}':`); // eslint-disable-line no-console
87+
console.error(` [${message}]`); // eslint-disable-line no-console
88+
console.error(` [${''.padStart(badLength, '^').padStart(badWhitespace.index + badLength, ' ').padEnd(message.length, ' ')}]`); // eslint-disable-line no-console
8989
throw new Error(`unexpected whitespace in message '${path}' at index ${badWhitespace.index} ("${message}")`);
9090
}
9191
}

0 commit comments

Comments
 (0)