Skip to content

Commit

Permalink
husky: remove deprecated install and move to recommended prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and hom3mad3 committed Oct 31, 2024
1 parent bd98614 commit ba0482f
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"

make lint-quick
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"lint": "eslint apps adhocracy-plus/assets --ext .js,.jsx && stylelint 'adhocracy-plus/assets/scss/**/*.scss'",
"lint-staged": "lint-staged",
"lint-fix": "eslint --fix --ext .js,.jsx .",
"postinstall": "husky install",
"prepare": "husky",
"test": "jest --passWithNoTests",
"testDebug": "jest -o --coverage=false",
"testNoCov": "jest --coverage=false",
Expand Down

0 comments on commit ba0482f

Please sign in to comment.