Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ repos:
- id: pretty-format-json
args: [--autofix]
- id: trailing-whitespace
# shfmt hook for formatting shell scripts
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.13.1-1
hooks:
- id: shfmt
name: shfmt
description: This hook runs shfmt for formatting shell scripts
args: ['-i', '4']
# ShellCheck hook for linting shell scripts
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.11.0.1"
Expand Down