🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702)

This commit is contained in:
Marco Beretta 2026-11-01 01:23:47 +01:00 • committed by GitHub
parent ced4cba6d4
commit 49ecc0695b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 117 additions and 154 deletions

View file

@ -86,4 +86,6 @@ for (const relative of await jsonFiles(baseDir)) {
changedFiles += 1;
}
console.log(`Preserved ${restored} repository translation value(s) across ${changedFiles} file(s).`);
console.log(
`Preserved ${restored} repository translation value(s) across ${changedFiles} file(s).`,
);

View file

@ -100,7 +100,10 @@ for (const relative of baseFiles) {
const englishRelative = path.join('en', 'translation.json');
if (currentSet.has(englishRelative)) {
const english = await loadJson(path.join(currentDir, englishRelative), `download/${englishRelative}`);
const english = await loadJson(
path.join(currentDir, englishRelative),
`download/${englishRelative}`,
);
if (english !== null) {
const englishValues = flatten(english);
for (const relative of currentFiles) {