Skip to content

Commit 5fa20ba

Browse files
authored
Merge pull request #341 from capitalone-contributions/fix-husky-setup
chore: remove the deprecated husky setup
2 parents 009aed6 + 859882c commit 5fa20ba

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.husky/pre-commit

100755100644
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx lint-staged
1+
lint-staged

package-lock.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"bot:build": "tsc ./src/bot/index.ts --noEmit false --esModuleInterop --outDir ./build",
1717
"bot:start": "probot run ./build/index.js",
1818
"test": "TEST_LOGGING=1 ts-node -O '{\"module\":\"commonjs\"}' node_modules/jest/bin/jest.js",
19-
"prepare": "test -d node_modules/husky && husky || echo \"husky is not installed\""
19+
"prepare": "husky || true"
2020
},
2121
"dependencies": {
2222
"@octokit/auth-app": "6.1.1",

0 commit comments

Comments
 (0)