Skip to content

Commit

Permalink
chore: apply husky updates
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Jun 24, 2021
1 parent 81d3e6e commit 489fc21
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run test:lint && npm run test:types
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"**/testdata": true,
"**/.dynamic-testWorkspace/defaultSearchExcluded": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.dynamic-testWorkspace": true,
"**/.vscode-test": true,
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@
"bugs": {
"url": "https://github.com/Microsoft/vscode-pwa/issues"
},
"husky": {
"hooks": {
"pre-commit": "npm run test:lint && npm run test:types"
}
},
"scripts": {
"compile": "gulp",
"watch": "gulp watch",
"fmt": "gulp format",
"prepare": "husky install",
"package": "gulp package",
"publish": "gulp publish",
"updatetypes": "cd src/typings && vscode-dts dev && vscode-dts master",
Expand Down

0 comments on commit 489fc21

Please sign in to comment.