Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create precommit script to run linting and type checking before allowing commit #56

Open
Dieff opened this issue Nov 28, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@Dieff
Copy link
Contributor

Dieff commented Nov 28, 2018

Inspired by the Kent Dodds tutorial about this.

https://www.npmjs.com/package/husky

Steps:

  1. Install Husky as a global dev dependency.
  2. create a precommit npm script.
  3. make that script run tslint and typescript checking.
  4. Update README.md with info about the new config.
@Dieff Dieff added the enhancement New feature or request label Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant