Open jaredforth opened 1 year ago
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update [ ] Bug fix [X] New feature [ ] Other, please explain:
What changes did you make? (Give an overview)
This PR adds a .pre-commit-hooks.yaml to this repository.
.pre-commit-hooks.yaml
Which issue (if any) does this pull request address?
This allows it to be used like standard. Once merged, a repository with a .pre-commit-hooks.yaml of:
standard
- repo: https://github.com/standard/ts-standard rev: master hooks: - id: ts-standard
will have a working ts-standard pre-commit hook.
ts-standard
Is there anything you'd like reviewers to focus on?
Confirm that the YAML is formatted correctly and works as expected.
🙌 Thanks for opening this pull request! You're awesome.
Any plans to merge this? A pre-commit hook would be great. Btw, @jaredforth, shouldn't this also run on .js and .jsx files?
.js
.jsx
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update [ ] Bug fix [X] New feature [ ] Other, please explain:
What changes did you make? (Give an overview)
This PR adds a
.pre-commit-hooks.yaml
to this repository.Which issue (if any) does this pull request address?
This allows it to be used like
standard
. Once merged, a repository with a.pre-commit-hooks.yaml
of:will have a working
ts-standard
pre-commit hook.Is there anything you'd like reviewers to focus on?
Confirm that the YAML is formatted correctly and works as expected.