Skip to content
Open
Changes from all commits
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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ repos:
- id: zizmor
```

To autofix issues, set the following args:

```yaml
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
# Zizmor version.
rev: v1.24.1
hooks:
# Run the linter.
- id: zizmor
args: [--no-progress, --fix]
```

(`--no-progress` must be specified since that arg exists in the repo's hook configuration, and `args` overrides all existing args)

[zizmor-pre-commit#22]: https://github.com/zizmorcore/zizmor-pre-commit/issues/22

## License
Expand Down