5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00
commitlint-github-action/.lintstagedrc.js
Jeroen de Bruijn 7e1866e588
test: run tests before committing, in addition to pretty-quick
`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.
2020-12-03 14:32:31 +01:00

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'],
}