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

✨ feat: add pre-commit hook config #199

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions website/docs/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ sidebar_position: 6

To integrate git-**sumi** with [pre-commit](https://pre-commit.com/#intro), add the following hook to your pre-commit config:

```yaml
```yaml title=".pre-commit-config.yaml" showLineNumbers
repos:
- repo: https://github.com/welpo/git-sumi
rev: v0.0.9 # check latest version: https://github.com/welpo/git-sumi/tags
hooks:
- id: git-sumi
rev: v0.0.9 # check latest version: https://github.com/welpo/git-sumi/tags
TribuneX marked this conversation as resolved.
Show resolved Hide resolved
hooks:
- id: git-sumi
```

## Local linting with Git hooks
Expand Down