Skip to content

Commit

Permalink
chore(husky): tidy husky
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 26, 2024
1 parent 829179b commit d826dc6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
npm run lint:tsc
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "eslint --ignore-path .gitignore .",
"lint:fix": "npm run lint -- --fix",
"lint:tsc": "tsc --noEmit",
"postinstall": "husky install",
"prepare": "husky",
"preview": "vite preview",
"start": "vite --open"
},
Expand Down

0 comments on commit d826dc6

Please sign in to comment.