Skip to content

Commit

Permalink
Remove husky
Browse files Browse the repository at this point in the history
  • Loading branch information
firefoxic committed Aug 19, 2024
1 parent 5b6d732 commit adb5738
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .husky/pre-commit → .git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
git stash -ku

trap "git stash pop" EXIT

pnpm test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"stylelint-plugin-logical-css": "^1.2.1"
},
"scripts": {
"prepare": "husky",
"prepare": "git config core.hooksPath .git-hooks || echo 'Not in a git repo'",
"lint": "eslint",
"pretest": "pnpm lint",
"test": "node --test",
Expand All @@ -46,7 +46,6 @@
"@firefoxic/eslint-config": "^3.0.0",
"@firefoxic/update-changelog": "^0.2.0",
"eslint": "^9.9.0",
"husky": "^9.1.4",
"stylelint": "^16.8.2"
},
"keywords": [
Expand Down
18 changes: 4 additions & 14 deletions pnpm-lock.yaml

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

0 comments on commit adb5738

Please sign in to comment.