Skip to content

Commit 7e1866e

Browse files
committed
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.
1 parent 495efc5 commit 7e1866e

3 files changed

Lines changed: 830 additions & 255 deletions

File tree

.lintstagedrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
'*.{ts,tsx,vue,css,less,scss,html,htm,md,markdown}': 'prettier --write',
3+
'*.{js,jsx,json,yml,yaml}': ['prettier --write', () => 'npm run test'],
4+
}

0 commit comments

Comments
 (0)