Skip to content

Commit fcf8be8

Browse files
authored
Fixing pre-commit hooks and running yarn localization in precommit (#18065)
1 parent c02b695 commit fcf8be8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.husky/pre-commit

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
yarn lint
1+
yarn lint
2+
yarn localization

.vscodeignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tasks
1414
test
1515
typings
1616
test-reports
17-
17+
.husky
1818
.gitignore
1919
.mention-bot
2020
coverconfig.json

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"localization": "gulp ext:extract-localization-strings",
5858
"smoketest": "gulp ext:smoke",
5959
"test": "gulp test:cover --log",
60-
"package": "vsce package"
60+
"package": "vsce package",
61+
"prepare": "husky"
6162
},
6263
"devDependencies": {
6364
"@angular/common": "~2.1.2",

0 commit comments

Comments
 (0)