{"id":16747929,"url":"https://github.com/amake/shfmt.el","last_synced_at":"2026-05-06T11:37:48.186Z","repository":{"id":74600442,"uuid":"202351215","full_name":"amake/shfmt.el","owner":"amake","description":"Shell script formatting and linting for Emacs via shfmt","archived":false,"fork":false,"pushed_at":"2022-05-11T23:11:37.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-30T00:37:11.393Z","etag":null,"topics":["auto-formatter","emacs","linter","shell-script"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":"amake"}},"created_at":"2019-08-14T12:58:28.000Z","updated_at":"2022-05-03T06:18:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad1616e2-3da1-4ff9-95d5-af1ff564cc6d","html_url":"https://github.com/amake/shfmt.el","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amake/shfmt.el","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fshfmt.el","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fshfmt.el/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fshfmt.el/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fshfmt.el/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amake","download_url":"https://codeload.github.com/amake/shfmt.el/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fshfmt.el/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32692558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["auto-formatter","emacs","linter","shell-script"],"created_at":"2024-10-13T02:11:18.211Z","updated_at":"2026-05-06T11:37:48.163Z","avatar_url":"https://github.com/amake.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/amake"],"categories":[],"sub_categories":[],"readme":"# shfmt.el\n\nShell script formatting and linting with [shfmt](https://github.com/mvdan/sh)\n\n# Installation\n\nInstall shfmt [per instructions](https://github.com/mvdan/sh#shfmt).\n\nshfmt.el is not (yet) on MELPA so install it locally however you like. You will have\nto install [`reformatter`](https://github.com/purcell/reformatter.el) and\n[`flycheck`](https://www.flycheck.org/en/latest/) separately.\n\n# Configuration\n\nManual formatting requires no configuration; just call `shfmt-buffer` or\n`shfmt-region`. Enable `shfmt-on-save-mode` to auto-format on save. Add this to\nthe `sh-mode-hook` to enable automatically in new buffers.\n\nCall `flycheck-shfmt-setup` to enable the Flycheck checker.\n\n## Example\n\nUsing [`use-package`](https://jwiegley.github.io/use-package/), assuming\ninstalled locally to `lisp/shfmt`:\n\n```elisp\n(use-package shfmt\n  :ensure nil\n  :load-path \"lisp/shfmt\"\n  :ensure-system-package shfmt\n  :hook (sh-mode . shfmt-on-save-mode))\n\n(use-package flycheck-shfmt\n  :ensure nil\n  :after flycheck\n  :load-path \"lisp/shfmt\"\n  :config\n  (flycheck-shfmt-setup))\n```\n\n# License\nGPL-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fshfmt.el","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famake%2Fshfmt.el","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fshfmt.el/lists"}