{"id":15647271,"url":"https://github.com/scop/pre-commit-shfmt","last_synced_at":"2025-04-09T23:16:28.497Z","repository":{"id":42132235,"uuid":"260833312","full_name":"scop/pre-commit-shfmt","owner":"scop","description":"shfmt hook for pre-commit, with auto install","archived":false,"fork":false,"pushed_at":"2025-03-06T08:19:12.000Z","size":48,"stargazers_count":63,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T23:16:21.102Z","etag":null,"topics":["pre-commit-hook","shell"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-03T05:16:22.000Z","updated_at":"2025-04-01T17:01:35.000Z","dependencies_parsed_at":"2023-11-13T00:21:45.469Z","dependency_job_id":"ecd62b06-aed7-4ebe-a02a-421289d72a2e","html_url":"https://github.com/scop/pre-commit-shfmt","commit_stats":{"total_commits":59,"total_committers":4,"mean_commits":14.75,"dds":0.2033898305084746,"last_synced_commit":"58e7bbdeadeb446392437ab7b0764e98d4f4591a"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scop%2Fpre-commit-shfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scop%2Fpre-commit-shfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scop%2Fpre-commit-shfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scop%2Fpre-commit-shfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scop","download_url":"https://codeload.github.com/scop/pre-commit-shfmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pre-commit-hook","shell"],"created_at":"2024-10-03T12:18:06.394Z","updated_at":"2025-04-09T23:16:28.473Z","avatar_url":"https://github.com/scop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-shfmt\n\n[shfmt](https://github.com/mvdan/sh#shfmt) hook for\n[pre-commit](https://pre-commit.com), with auto install.\n\nUsage in `.pre-commit-config.yaml`:\n\n```yaml\n- repo: https://github.com/scop/pre-commit-shfmt\n  rev: v3.11.0-1\n  hooks:\n    # Choose one of:\n    - id: shfmt         # prebuilt upstream executable\n    - id: shfmt-src     # build from source (requires/installs Go to build)\n    - id: shfmt-docker  # Docker image (requires Docker to run)\n```\n\n\u003e #### Note\n\u003e\n\u003e From v3.7.0-2 on, the `shfmt` id points to the variant that uses a prebuilt\n\u003e upstream executable. The one that builds from source is available as\n\u003e `shfmt-src`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscop%2Fpre-commit-shfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscop%2Fpre-commit-shfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscop%2Fpre-commit-shfmt/lists"}