{"id":19399623,"url":"https://github.com/endemolshinegroup/git-author-check","last_synced_at":"2026-05-19T02:06:10.800Z","repository":{"id":33278228,"uuid":"153275140","full_name":"EndemolShineGroup/git-author-check","owner":"EndemolShineGroup","description":"A pre-commit tool that validates the commit authors' email address","archived":false,"fork":false,"pushed_at":"2022-12-09T13:16:32.000Z","size":1248,"stargazers_count":0,"open_issues_count":40,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-06-01T22:27:29.165Z","etag":null,"topics":["git","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EndemolShineGroup.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2018-10-16T11:35:40.000Z","updated_at":"2018-11-03T23:27:53.000Z","dependencies_parsed_at":"2023-01-15T00:30:41.143Z","dependency_job_id":null,"html_url":"https://github.com/EndemolShineGroup/git-author-check","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/EndemolShineGroup/git-author-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndemolShineGroup%2Fgit-author-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndemolShineGroup%2Fgit-author-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndemolShineGroup%2Fgit-author-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndemolShineGroup%2Fgit-author-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndemolShineGroup","download_url":"https://codeload.github.com/EndemolShineGroup/git-author-check/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndemolShineGroup%2Fgit-author-check/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264257445,"owners_count":23580468,"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","typescript"],"created_at":"2024-11-10T11:10:27.925Z","updated_at":"2026-05-19T02:06:10.764Z","avatar_url":"https://github.com/EndemolShineGroup.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner][icon-banner]\n\n[![MIT Licensed][icon-license]][link-license]\n[![NPM Version][icon-npm]][link-npm]\n[![Build Status][icon-ci]][link-ci]\n[![Greenkeeper Status][icon-greenkeeper]][link-greenkeeper]\n\n[![Code Issues][icon-issues]][link-issues]\n[![Codebase Maintainability][icon-maintainability]][link-maintainability]\n[![Test Coverage][icon-coverage]][link-coverage]\n[![Jest][icon-jest]][link-jest]\n\n[![Commitizen][icon-commitizen]][link-commitizen]\n[![Semantic Release][icon-semantic-release]][link-semantic-release]\n[![Prettier][icon-prettier]][link-prettier]\n\nA pre-commit tool that validates the commit authors' email address.\n\n## Installation\n\n```bash\nyarn add -D husky @endemolshinegroup/git-author-check\n```\n\n## Usage\n\nThis package uses Cosmiconfig to load its' configuration, so you can add a\nconfiguration file in one of the following ways:\n\n- a `gitauthorcheck` property in package.json\n\n```json\n{\n  \"gitauthorcheck\": {\n    \"allowedDomains\": [\n      \"endemolshine.com\"\n    ]\n  },\n}\n```\n\n- a `.gitauthorcheckrc` file in JSON or YAML format\n- a `.gitauthorcheckrc.json` file\n- a `.gitauthorcheckrc.yaml`, `.gitauthorcheckrc.yml`, or `.gitauthorcheckrc.js` file\n- a `gitauthorcheck.config.js` or `gitauthorcheck.config.ts` file exporting a JS object\n\n```json\n{\n  \"allowedDomains\": [\n    \"endemolshine.com\"\n  ]\n}\n```\n\nThen add the following to your Husky configuration file:\n\n```json\n{\n  \"hooks\": {\n    \"pre-commit\": \"git-author-check\"\n  }\n}\n```\n\n[icon-banner]: docs/assets/banner.png\n\n[icon-license]: https://img.shields.io/github/license/EndemolShineGroup/git-author-check.svg?longCache=true\u0026style=flat-square\n[link-license]: LICENSE\n[icon-npm]: https://img.shields.io/npm/v/@endemolshinegroup/git-author-check.svg?longCache=true\u0026style=flat-square\n[link-npm]: https://www.npmjs.com/package/@endemolshinegroup/git-author-check\n[icon-ci]: https://img.shields.io/travis/com/EndemolShineGroup/git-author-check.svg?longCache=true\u0026style=flat-square\n[link-ci]: https://travis-ci.com/EndemolShineGroup/git-author-check\n[icon-greenkeeper]: https://img.shields.io/badge/greenkeeper-enabled-brightgreen.svg?longCache=true\u0026style=flat-square\n[link-greenkeeper]: https://greenkeeper.io/\n\n[icon-issues]: https://img.shields.io/codeclimate/issues/EndemolShineGroup/git-author-check.svg?longCache=true\u0026style=flat-square\n[link-issues]: https://codeclimate.com/github/EndemolShineGroup/git-author-check/issues\n[icon-maintainability]: https://img.shields.io/codeclimate/maintainability/EndemolShineGroup/git-author-check.svg?longCache=true\u0026style=flat-square\n[link-maintainability]: https://codeclimate.com/github/EndemolShineGroup/git-author-check\n[icon-coverage]: https://img.shields.io/codecov/c/github/EndemolShineGroup/git-author-check/develop.svg?longCache=true\u0026style=flat-square\n[link-coverage]: https://codecov.io/gh/EndemolShineGroup/git-author-check\n\n[icon-jest]: https://img.shields.io/badge/tested_with-jest-99424f.svg?longCache=true\u0026style=flat-square\n[link-jest]: https://jestjs.io/\n\n[icon-commitizen]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?longCache=true\u0026style=flat-square\n[link-commitizen]: http://commitizen.github.io/cz-cli/\n[icon-semantic-release]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?longCache=true\u0026style=flat-square\n[link-semantic-release]: https://semantic-release.gitbooks.io/semantic-release/\n[icon-prettier]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?longCache=true\u0026style=flat-square\n[link-prettier]: https://prettier.io/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendemolshinegroup%2Fgit-author-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendemolshinegroup%2Fgit-author-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendemolshinegroup%2Fgit-author-check/lists"}