Skip to content

Commit

Permalink
Merge pull request #2044 from lpsinger/husky-init
Browse files Browse the repository at this point in the history
Adjust husky settings for husky v9
  • Loading branch information
dakota002 authored Mar 5, 2024
2 parents a1b9cd8 + 2694007 commit 86ae091
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
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 @@ -18,7 +18,7 @@
"dev:sass": "sass --watch -Inode_modules/nasawds/src/theme -Inode_modules/@uswds -Inode_modules/@uswds/uswds/packages app:app",
"dev:esbuild": "node esbuild.js --dev",
"dev": "run-p \"dev:*\"",
"prepare": "husky install",
"prepare": "husky",
"deploy": "arc deploy --prune --production",
"clean": "rimraf --glob build/static app/css \"build/**/index.*\" \"build/**/metafile.*\" \"build/**/version.txt\" \"app/**/*.css\" \"app/**/*.css.map\" sam.json sam.yaml .cache python/vendor",
"test": "jest",
Expand Down

0 comments on commit 86ae091

Please sign in to comment.