{"id":23148459,"url":"https://github.com/shopiqo/docker-rbprettier","last_synced_at":"2026-04-14T03:32:15.189Z","repository":{"id":45220051,"uuid":"442566354","full_name":"shopiqo/docker-rbprettier","owner":"shopiqo","description":"Docker images for Prettier plugin for Ruby + Guesslang","archived":false,"fork":false,"pushed_at":"2021-12-30T19:57:29.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-26T18:43:04.601Z","etag":null,"topics":["codequality","continuous-integration","docker","guesslang","pre-commit","prettier","ruby","tenserflow","vagrantfile"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/shopiqo.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}},"created_at":"2021-12-28T19:40:16.000Z","updated_at":"2023-02-05T14:42:04.000Z","dependencies_parsed_at":"2022-09-14T05:11:40.449Z","dependency_job_id":null,"html_url":"https://github.com/shopiqo/docker-rbprettier","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shopiqo/docker-rbprettier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopiqo%2Fdocker-rbprettier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopiqo%2Fdocker-rbprettier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopiqo%2Fdocker-rbprettier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopiqo%2Fdocker-rbprettier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopiqo","download_url":"https://codeload.github.com/shopiqo/docker-rbprettier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopiqo%2Fdocker-rbprettier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["codequality","continuous-integration","docker","guesslang","pre-commit","prettier","ruby","tenserflow","vagrantfile"],"created_at":"2024-12-17T17:11:33.517Z","updated_at":"2026-04-14T03:32:15.174Z","avatar_url":"https://github.com/shopiqo.png","language":"Shell","readme":"# Prettier for Ruby inside Docker\n\nDocker images to auto-format Ruby source code based on [Prettier Ruby Plugin](https://github.com/prettier/plugin-ruby) and [Guesslang](https://guesslang.readthedocs.io/en/latest/). Most available solutions out there aren't able to determine correct programming language unless you are using file extensions like `*.rb`, `*.gemspec` or `Gemfile`. That's why we are using Guesslang to detect Ruby source code with much better accuracy. The accuracy of the official plugin is not enough because it doesn't detects for example `Vagrantfile` as Ruby source code.\n\n## Quickstart\n\n### Standalone\n\n```bash\ndocker run --rm -v $(pwd):/src ghcr.io/efsa-io/rbprettier:v1.0.1\n```\n\n### pre-commit (recommended)\n\nHere is an example for your `pre-commit-config.yaml`:\n\n```yaml\n[…]\nrepos:\n    - repo: local\n      hooks:\n          - id: rbprettier\n            name: rbprettier\n            language: docker_image\n            entry: ghcr.io/efsa-io/rbprettier:v1.0.1\n[…]\n```\n\n## Contribute\n\n### pre-commit\n\n```bash\npre-commit install\n```\n\n### local testing\n\n```bash\ndocker build --no-cache -t rbprettier .\nmkdir tests\necho 'puts \"Hello world!\"' \u003e tests/hello.rb\ndocker run --rm -v $(pwd):/src rbprettier\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopiqo%2Fdocker-rbprettier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopiqo%2Fdocker-rbprettier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopiqo%2Fdocker-rbprettier/lists"}