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

add pre-commit-hooks file #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jaredforth
Copy link

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:

  - repo: https://github.com/standard/ts-standard
    rev: master
    hooks:
      - id: ts-standard

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.

@welcome
Copy link

welcome bot commented Mar 22, 2023

🙌 Thanks for opening this pull request! You're awesome.

@itaiperi
Copy link

Any plans to merge this? A pre-commit hook would be great.
Btw, @jaredforth, shouldn't this also run on .js and .jsx files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants