mirror of
https://github.com/screenci/screenci.git
synced 2026-09-19 08:57:46 +08:00
9 lines
249 B
JavaScript
9 lines
249 B
JavaScript
export default {
|
|
'*.{js,ts,mjs}': ['prettier --write', 'eslint --fix'],
|
|
'*.{ts}': (filenames) => [
|
|
'npm run type-check',
|
|
`npm exec vitest related ${filenames.join(' ')} --run`,
|
|
],
|
|
'*.{json,md,yml,yaml,html}': ['prettier --write'],
|
|
}
|