Skip to content

Commit f5f2917

Browse files
authored
refactor(pre-commit): not running jscpd anymore (#4710)
`jscpd` leads to a 10 seconds delay of a git commit, as it needs to parse through the whole codebase to detect any copy&paste code parts. As we're doing within the pipeline even already, we should skip it on localhost due to this massive delay.
1 parent 11d50a7 commit f5f2917

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ node scripts/check-commit-mail.js
33
lint-staged --config .config/.lintstagedrc.js
44
lint-staged --config .config/.lintstagedrc-prettier.js
55
git update-index --again
6-
npm run lint:jscpd

0 commit comments

Comments
 (0)