mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
`pretty-quick` is not needed any more as lint-staged can run prettier with just the staged files, thus getting the same behaviour. Closes #60.
4 lines
170 B
JavaScript
4 lines
170 B
JavaScript
module.exports = {
|
|
'*.{ts,tsx,vue,css,less,scss,html,htm,md,markdown}': 'prettier --write',
|
|
'*.{js,jsx,json,yml,yaml}': ['prettier --write', () => 'npm run test'],
|
|
}
|