Skip to content

Commit

Permalink
build(deps-dev): bump husky from 8.0.3 to 9.1.5 (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] committed Aug 27, 2024
1 parent 1e14b26 commit 6020728
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
brew install ktlint
brew install swiftlint
swiftlint version
- name: Install dependencies
run: |
npm ci
- name: Linting
Expand Down
5 changes: 1 addition & 4 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 --edit "$1"
commitlint --edit "$1"
5 changes: 1 addition & 4 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
lint-staged
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"types": "./types/index.d.ts",
"scripts": {
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
"prepare": "node -e \"import('husky').then(husky => husky.default()).catch(e => { if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e })\"",
"build": "tsc",
"lint": "npm run lint:android && npm run lint:ios && npm run lint:typescript",
"lint:android": "ktlint src/android",
Expand All @@ -23,7 +23,7 @@
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"husky": "^9.1.5",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"replace": "^1.2.2",
Expand Down

0 comments on commit 6020728

Please sign in to comment.