Skip to content

Commit

Permalink
Remove deprecated lines in Husky pre-commit script (#13396)
Browse files Browse the repository at this point in the history
* Remove deprecated lines in pre-commit script. Test commit

* Remove deprecated lines in pre-commit script

* Test commit

* Revert test changes

* Revert test changes

* Remove install keyword from setup script in package.json

---------

Co-authored-by: Jonas Dyrlie <jonas.dyrlie@gmail.com>
  • Loading branch information
ErlingHauan and Jondyr authored Aug 23, 2024
1 parent c832c67 commit 0ca075b
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 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"lint:fix": "yarn run lint --fix",
"codestyle:check": "prettier frontend --check",
"codestyle:fix": "prettier frontend --write",
"setup": "husky install && node development/setup.js && yarn run git:ignore-revs",
"setup": "husky && node development/setup.js && yarn run git:ignore-revs",
"sort-texts": "yarn workspace @altinn-studio/language run sort",
"start-app-development": "yarn workspace app-development start",
"start-app-preview": "yarn workspace app-preview start",
Expand Down

0 comments on commit 0ca075b

Please sign in to comment.