Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

chore(tooling): Add prettier, lint-staged and precommit hook for tooling#49

Merged
ladyleet merged 1 commit intoReactiveX:masterfrom
ashwin-sureshkumar:issue-45
Oct 21, 2017
Merged

chore(tooling): Add prettier, lint-staged and precommit hook for tooling#49
ladyleet merged 1 commit intoReactiveX:masterfrom
ashwin-sureshkumar:issue-45

Conversation

@ashwin-sureshkumar
Copy link
Collaborator

  • Added basic tooling configuration for linting using prettier, tslint.
  • Added precommit to run lint on staged files

Close #45

@ashwin-sureshkumar
Copy link
Collaborator Author

cc @kwonoj

@ladyleet
Copy link
Member

LGTM. @kwonoj ? (Thx @ashwin-sureshkumar )

@athomann
Copy link

Would it sense to run the tests in the pre-commit hook?

@ashwin-sureshkumar
Copy link
Collaborator Author

@athomann - There is a discussion about the same in the issue #45

@kwonoj
Copy link
Member

kwonoj commented Oct 20, 2017

Would it sense to run the tests in the pre-commit hook?

No. Commit occurs quite frequent and commit chunk can create test failures will make daily flow painful.

@ladyleet
Copy link
Member

@ashwin-sureshkumar can you update the branch pls?

- Added basic tooling configuration for linting using prettier, tslint.
- Added precommit to run lint on staged files

Close ReactiveX#45
@ashwin-sureshkumar
Copy link
Collaborator Author

@ladyleet - Done !

@ladyleet ladyleet merged commit b78856e into ReactiveX:master Oct 21, 2017
@ladyleet
Copy link
Member

@ashwin-sureshkumar 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants