Skip to content

Commit

Permalink
Merge pull request #2194 from exadel-inc/chore/husky-update
Browse files Browse the repository at this point in the history
chore(deps): update husky config
  • Loading branch information
ala-n authored Jan 25, 2024
2 parents 065191a + 911a92f commit b8ccf49
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -e $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# ignore lint-staged if it is merge commit
git rev-parse -q --no-revs --verify MERGE_HEAD || npx lint-staged --verbose --quiet
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run test -ws --include-workspace-root
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"lint": "concurrently \"npm run lint:js\" \"npm run lint:css\" && node build/catlog.js \"Linting passed\"",
"lint:js": "eslint \"src/**/*.ts\" \"site/src/**/*.ts\" --max-warnings 3",
"lint:css": "stylelint \"src/**/*.less\" \"site/src/**/*.less\"",
"prepare": "husky install && npm run build",
"prepare": "husky && npm run build",
"preversion": "npm test",
"version": "cross-env-shell \"npm version $npm_package_version --no-git-tag-version --ws\" && git add **/package*.json",
"postpack": "npm pack --workspace eslint",
Expand Down

0 comments on commit b8ccf49

Please sign in to comment.