Skip to content

Commit 2fdafe0

Browse files
committed
chore: update staged config to handle unmatched patterns
1 parent 07d69eb commit 2fdafe0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rstack.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ define.lint(async () => {
2020
});
2121

2222
define.staged({
23-
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'oxfmt'],
24-
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'oxfmt',
23+
'*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}': ['rs lint --fix', 'oxfmt --no-error-on-unmatched-pattern'],
24+
'*.{json,jsonc,md,mdx,css,html,yml,yaml}': 'oxfmt --no-error-on-unmatched-pattern',
2525
});

0 commit comments

Comments
 (0)