Skip to content

Commit 4d0c437

Browse files
devversionamysorto
authored andcommitted
build: update to husky v7 to remove nested gitignore (#23196)
Updates to the latest version of Husky v7 which no longer requires the `.gitignore` file in the `.husky` file. The `_` folder generated by Husky sometimes resulted in unnecessary diffs on Windows (due to CRLF line endings). (cherry picked from commit 78ba3b1)
1 parent d14e77f commit 4d0c437

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"gulp-cli": "^2.3.0",
181181
"gulp-dart-sass": "^1.0.2",
182182
"highlight.js": "^10.4.0",
183-
"husky": "6.0.0",
183+
"husky": "^7.0.1",
184184
"inquirer": "^8.0.0",
185185
"jasmine": "^3.6.0",
186186
"jasmine-core": "^3.6.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7353,10 +7353,10 @@ https-proxy-agent@^4.0.0:
73537353
agent-base "5"
73547354
debug "4"
73557355

7356-
husky@6.0.0:
7357-
version "6.0.0"
7358-
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
7359-
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
7356+
husky@^7.0.1:
7357+
version "7.0.1"
7358+
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c"
7359+
integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==
73607360

73617361
[email protected], iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.11:
73627362
version "0.4.24"

0 commit comments

Comments
 (0)