mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Precommit] Format lintstaged file
This commit is contained in:
+1
-2
@@ -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(' ')}`,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user