Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 5528486

Browse files
renovate[bot]renovate-botiamturns
authored
chore(deps): update dependency husky to v7 (#227)
* chore(deps): update dependency husky to v7 * Support Husky 7 Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Matt Turnbull <[email protected]>
1 parent fea59ae commit 5528486

File tree

4 files changed

+11
-122
lines changed

4 files changed

+11
-122
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run pre-commit

.huskyrc.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

package-lock.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "eslint-config-airbnb-typescript",
3+
"version": "0.0.0-development",
34
"description": "Airbnb's ESLint config with TypeScript support",
45
"license": "MIT",
56
"author": "Matt Turnbull <[email protected]> (https://iamturns.com)",
@@ -11,14 +12,14 @@
1112
"bugs": {
1213
"url": "https://github.com/iamturns/eslint-config-airbnb-typescript/issues"
1314
},
14-
"version": "0.0.0-development",
1515
"scripts": {
1616
"pre-commit": "lint-staged",
1717
"format": "run-s format:package format:prettier format:eslint",
1818
"format:eslint": "eslint --fix ./ >/dev/null 2>&1 || true",
1919
"format:package": "prettier-package-json --write",
2020
"format:prettier": "prettier --write \"**/*.{js,json,md,yml}\" \".editorconfig\" \"LICENSE\"",
2121
"lint": "eslint ./",
22+
"prepare": "husky install",
2223
"validate": "npm run lint"
2324
},
2425
"peerDependencies": {
@@ -32,7 +33,7 @@
3233
"eslint-config-airbnb-base": "^14.2.1",
3334
"eslint-config-prettier": "8.3.0",
3435
"eslint-plugin-import": "2.24.1",
35-
"husky": "4.3.8",
36+
"husky": "7.0.1",
3637
"lint-staged": "11.1.2",
3738
"npm-run-all": "4.1.5",
3839
"prettier": "2.3.1",

0 commit comments

Comments
 (0)