-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove type checking and linting from commit hook. Only format and stylelint --fix (which actually modify files). - check for file changes after build, e.g. `lib/papi.d.ts`
- Loading branch information
1 parent
778d291
commit cba0e36
Showing
5 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
echo "Lint checking..." | ||
# generate papi.d.ts as part of lint:staged | ||
echo "Format and stylelint fixes..." | ||
npm run lint:staged | ||
echo "Lint check finished" | ||
|
||
echo "Type checking..." | ||
npm run typecheck | ||
echo "Type check finished" | ||
echo "Format and stylelint fixes finished" | ||
|
||
echo "If the following fails run npm run editor:unlink" | ||
npx yalc check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters