Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated lines in Husky pre-commit script #13396

Merged
merged 8 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
@@ -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",