forked from WebDevCaptain-Lab/oss-npm-package-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI for linting and local dev utils (WebDevCaptain-Lab#11)
* Install lint-staged and setup husky with linters Run linter and formatter in a pre-commit hook with lint-staged configuration. * Update add module functionality to allow multiple numbers as args. Add a lint job in CI workflow.
- Loading branch information
1 parent
103bc40
commit d036141
Showing
5 changed files
with
719 additions
and
6 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 +1 @@ | ||
npm test | ||
npx lint-staged && npm test |
Oops, something went wrong.