Move husky i18n tasks to lint-staged

This commit is contained in:
schroda
2026-04-25 12:46:48 +02:00
parent 052c50e5c9
commit 2b0dbd33b4
3 changed files with 1 additions and 48 deletions

View File

@@ -7,6 +7,6 @@
*/
export default {
'*.{ts,tsx,js,jsx}': ['oxfmt --write', 'oxlint --fix'],
'*.{ts,tsx,js,jsx}': ['oxfmt --write', 'oxlint --fix', () => `yarn i18n:extract`, 'git add src/i18n/locales/*.po'],
'*.{json,md,yml,yaml,css,scss,html,graphql}': 'oxfmt --write',
};