[Precommit] Format lintstaged file

This commit is contained in:
Aaro Koivukangas
2026-08-13 09:33:16 +03:00
parent 5dea5e1cb8
commit a3244ca95c
+1 -2
View File
@@ -9,8 +9,7 @@ export default {
'{services,updater}/**/*.{js,jsx,ts,tsx}': files =>
`oxlint --fix --type-aware --type-check --no-error-on-unmatched-pattern --quiet ${files.join(' ')}`,
'*.{js,jsx,ts,tsx,json,md,yml,yaml,html,css}': files =>
`oxfmt --no-error-on-unmatched-pattern ${files.join(' ')} `,
'*.{js,jsx,ts,tsx,json,md,yml,yaml,html,css}': files => `oxfmt --no-error-on-unmatched-pattern ${files.join(' ')} `,
'*.css': files => `stylelint --fix ${files.join(' ')}`,