Update lint rules

This commit is contained in:
schroda
2026-03-11 00:11:29 +01:00
parent 5dda4304d9
commit 72af9d52d1
377 changed files with 1132 additions and 1048 deletions

View File

@@ -72,7 +72,7 @@ const outputContent = readFileSync(outputFilePath, 'utf-8');
const mangaTypes = Object.keys(MANGA_TYPE_TO_MSG_IDS);
const entries = mangaTypes.map((type) => {
const tagList = translationsByMangaType[type].map((tag) => `'${tag.replace(/'/g, "\\'")}'`).join(',');
const tagList = translationsByMangaType[type].map((tag) => `'${tag.replaceAll("'", "\\'")}'`).join(',');
return ` [MangaType.${type}]: [\n${tagList},\n ]`;
});