Skip to content

Commit

Permalink
modernize husky setup
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSemenov committed Jun 20, 2024
1 parent fd6f979 commit 3a78c92
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"scripts": {
"lint": "eslint --fix . && prettier --write '**/*.{json,md}'",
"prepare": "husky install"
"prepare": "husky"
},
"devDependencies": {
"@changesets/cli": "~2.27.1",
Expand Down

0 comments on commit 3a78c92

Please sign in to comment.