Skip to content

Commit

Permalink
Mention pre-commit hook now that we got a release
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Sep 4, 2023
1 parent 37eda70 commit de65f9e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,14 @@ endfunction
nnoremap <silent><buffer> <leader>cf :call RunZeekScript()<CR>
```

## Using `zeek-format` with [pre-commit](https://pre-commit.com/)

Add this to your [`.pre-commit-config.yaml`](https://pre-commit.com/#adding-pre-commit-plugins-to-your-project):

```yaml
- repo: https://github.com/pre-commit/mirrors-eslint
rev: '' # Use the SHA/tag you want to point at.
hooks:
- id: zeek-format
```

0 comments on commit de65f9e

Please sign in to comment.