Skip to content

Commit

Permalink
chore: apply ybiq init (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Feb 1, 2024
1 parent c2dff17 commit dca8093
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .husky/commit-msg
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
npm exec --no -- commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/post-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run release:dry-run
5 changes: 1 addition & 4 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npm exec --no -- lint-staged
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"format": "npm-run-all --print-label --silent --parallel lint:*:fix",
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,cjs,mjs,ts,tsx}": "eslint --cache --fix",
"!(*.snap)": "prettier --cache --write",
"!(**/*.snap|.husky/**)": "prettier --cache --write",
"!(CHANGELOG).md": "remark --frail"
},
"standard-version": {
Expand All @@ -107,7 +107,7 @@
"body-max-line-length": [
1,
"always",
200
300
],
"header-max-length": [
1,
Expand Down

0 comments on commit dca8093

Please sign in to comment.