Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
chore: migrate from husky to simple-git-hooks
Browse files Browse the repository at this point in the history
see creasico/laravel-project#58

Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Oct 29, 2023
1 parent d5aa960 commit 727d7b5
Show file tree
Hide file tree
Showing 5 changed files with 2,228 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ vendor
# Node.js lock files
.pnpm-store
package-lock.json
pnpm-lock.yaml
yarn.lock

# But Keep these
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"simple-git-hooks": "^2.9.0",
"standard-version": "^9.5.0"
},
"commitlint": {
Expand All @@ -25,5 +25,9 @@
"php vendor/bin/pint --preset laravel"
]
},
"simple-git-hooks": {
"commit-msg": "pnpm exec commitlint --edit $1",
"pre-commit": "pnpm exec lint-staged --allow-empty"
},
"standard-version": {}
}
Loading

0 comments on commit 727d7b5

Please sign in to comment.