{"id":22269420,"url":"https://github.com/tommorris/bastardhooks","last_synced_at":"2025-07-12T22:41:03.010Z","repository":{"id":33237638,"uuid":"36881953","full_name":"tommorris/bastardhooks","owner":"tommorris","description":"Opinionated Git pre-commit hooks (because only vigilance can stop CoffeeScript)","archived":false,"fork":false,"pushed_at":"2020-06-07T09:54:22.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"default","last_synced_at":"2025-01-30T13:42:46.840Z","etag":null,"topics":["git-hook","precommit-hooks"],"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/tommorris.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":"2015-06-04T16:22:00.000Z","updated_at":"2016-06-17T15:58:19.000Z","dependencies_parsed_at":"2022-08-17T22:45:18.391Z","dependency_job_id":null,"html_url":"https://github.com/tommorris/bastardhooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommorris%2Fbastardhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommorris%2Fbastardhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommorris%2Fbastardhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommorris%2Fbastardhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tommorris","download_url":"https://codeload.github.com/tommorris/bastardhooks/tar.gz/refs/heads/default","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245486595,"owners_count":20623277,"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":["git-hook","precommit-hooks"],"created_at":"2024-12-03T11:16:24.394Z","updated_at":"2025-03-25T15:23:06.767Z","avatar_url":"https://github.com/tommorris.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bastardhooks\n\nBastardhooks is a collection of [pre-commit framework](http://pre-commit.com) hooks to enforce code style preferences of mean, vicious bastards.\n\nHooks provided include:\n\n* `check_for_rspec_focus`: ensures that you don't check in RSpec tests that have focus words (e.g. `fscenario`)\n* `no_coffee`: prevents the check-in of CoffeeScript code based on a [slightly irrational dislike of the language](https://tommorris.org/posts/9029)\n* `no_stupid_php`: checks to see if the user has attempted to use any particularly idiotic things in PHP (like [`magic_quotes`](http://php.net/manual/en/security.magicquotes.php))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommorris%2Fbastardhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftommorris%2Fbastardhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommorris%2Fbastardhooks/lists"}