Skip to content

Commit

Permalink
Merge pull request #581 from killermoehre/feature/add-pre-commit-hook
Browse files Browse the repository at this point in the history
Create .pre-commit-hooks.yaml
  • Loading branch information
kucherenko committed Mar 23, 2023
2 parents e20e73b + b4e7aa2 commit 9d0c1ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- id: jscpd
name: Check for duplicated code
entry: jscpd
args: ["--gitignore", "--exitCode", "'1'"]
language: node
types: [text]

0 comments on commit 9d0c1ae

Please sign in to comment.