Skip to content

scop/pre-commit-shfmt

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

pre-commit-shfmt

shfmt hook for pre-commit, with auto install.

Usage in .pre-commit-config.yaml:

- repo: https://github.com/scop/pre-commit-shfmt
  rev: v3.7.0-1
  hooks:
    # Choose one of:
    - id: shfmt         # native (requires/installs Go to build)
    - id: shfmt-docker  # Docker image (requires Docker to run)

About

shfmt hook for pre-commit, with auto install

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •