{"id":28288944,"url":"https://github.com/tomdevisser/codeguard","last_synced_at":"2025-08-29T14:43:29.641Z","repository":{"id":289269701,"uuid":"970685906","full_name":"tomdevisser/codeguard","owner":"tomdevisser","description":"A lightweight hook system for enforcing code quality at commit and push time.","archived":false,"fork":false,"pushed_at":"2025-04-25T10:36:26.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T22:16:30.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tomdevisser.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,"zenodo":null}},"created_at":"2025-04-22T11:39:12.000Z","updated_at":"2025-04-25T10:36:30.000Z","dependencies_parsed_at":"2025-04-22T12:56:07.533Z","dependency_job_id":"0d56eccb-e5cf-4970-8df1-dc43412889ff","html_url":"https://github.com/tomdevisser/codeguard","commit_stats":null,"previous_names":["tomdevisser29/codeguard","tomdevisser/codeguard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomdevisser/codeguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomdevisser%2Fcodeguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomdevisser%2Fcodeguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomdevisser%2Fcodeguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomdevisser%2Fcodeguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomdevisser","download_url":"https://codeload.github.com/tomdevisser/codeguard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomdevisser%2Fcodeguard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272702733,"owners_count":24979101,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-05-22T00:13:44.688Z","updated_at":"2025-08-29T14:43:29.611Z","avatar_url":"https://github.com/tomdevisser.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeguard\n\n## About\n\nA lightweight hook system for enforcing code quality at commit and push time.\n\n## Current checks\n\n- PHPCS (based on WPCS) for all PHP files;\n- Prettier for all JavaScript files;\n- Commit message should be at least 20 characters;\n- Commit message should start with one of the defined prefixes;\n\n## Sample output\n\n```zsh\n\u003e codeguard@1.0.0 prettier\n\u003e prettier --check **/*.js\n\nChecking formatting...\nAll matched files use Prettier code style!\n🟢 Prettier check is successful.\n\n\u003e codeguard@1.0.0 phpcs\n\u003e vendor/bin/phpcs --standard=phpcs.xml\n\n🟢 PHPCS check is successful.\n\n\u003e codeguard@1.0.0 eslint\n\u003e eslint .\n\n🟢 ESLint check is successful.\n🟢 Commit message has the correct prefix.\n🟢 Commit message has the required minimum length.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomdevisser%2Fcodeguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomdevisser%2Fcodeguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomdevisser%2Fcodeguard/lists"}