From a6c81623a1dbca7eda00ed73df99cfeecc9a29e3 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Fri, 20 Mar 2026 03:20:41 +0100 Subject: [PATCH] Fix "i18n resource update" script --- tools/scripts/weblate/generatei18nResources.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/scripts/weblate/generatei18nResources.ts b/tools/scripts/weblate/generatei18nResources.ts index e4a1b04a..e447294c 100644 --- a/tools/scripts/weblate/generatei18nResources.ts +++ b/tools/scripts/weblate/generatei18nResources.ts @@ -77,7 +77,8 @@ const generateResources = async () => { updateLinguiConfig(resourceNames); execSync('yarn tsc', { stdio: 'inherit' }); - execSync(`yarn eslint --fix ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' }); + execSync(`yarn oxlint --fix ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' }); + execSync(`yarn oxfmt --write ${I18N_INDEX_PATH} ${LINGUI_CONFIG_PATH}`, { stdio: 'inherit' }); const hasI18nIndexChanged = execSync('git status --porcelain').toString().includes(I18N_INDEX_PATH); const hasLinguiConfigChanged = execSync('git status --porcelain').toString().includes(LINGUI_CONFIG_PATH);