{"id":14984834,"url":"https://github.com/rocketseat/commitlint-config","last_synced_at":"2025-03-30T07:31:17.168Z","repository":{"id":54427897,"uuid":"187094994","full_name":"Rocketseat/commitlint-config","owner":"Rocketseat","description":"Shareable commitlint config used by Rocketseat 🚀","archived":false,"fork":false,"pushed_at":"2021-02-18T20:09:17.000Z","size":9,"stargazers_count":98,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-05T04:02:46.051Z","etag":null,"topics":["commitlint","commitlint-config","git","lint","rocketseat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Rocketseat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-16T20:12:56.000Z","updated_at":"2025-01-17T19:13:33.000Z","dependencies_parsed_at":"2022-08-13T15:20:30.534Z","dependency_job_id":null,"html_url":"https://github.com/Rocketseat/commitlint-config","commit_stats":null,"previous_names":["rocketseat/commitlint-config-rocketseat"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocketseat%2Fcommitlint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocketseat%2Fcommitlint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocketseat%2Fcommitlint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rocketseat%2Fcommitlint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rocketseat","download_url":"https://codeload.github.com/Rocketseat/commitlint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290555,"owners_count":20753723,"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":["commitlint","commitlint-config","git","lint","rocketseat"],"created_at":"2024-09-24T14:09:44.212Z","updated_at":"2025-03-30T07:31:16.868Z","avatar_url":"https://github.com/Rocketseat.png","language":"JavaScript","readme":"# @rocketseat/commitlint-config\n\n\u003cp\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/@rocketseat/commitlint-config?style=flat-square\u0026color=8257E5\u0026labelColor=121214\" alt=\"npm version\" /\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/rocketseat/commitlint-config?style=flat-square\u0026color=8257E5\u0026labelColor=121214\"\u003e\n\u003c/p\u003e\n\nShareable [`commitlint`](https://github.com/conventional-changelog/commitlint) config used by Rocketseat.\n\n## Install\n\nYou can install it with npm or Yarn.\n\n```sh\n# npm\nnpm i -D @rocketseat/commitlint-config @commitlint/cli\n\n# Yarn\nyarn add -D @rocketseat/commitlint-config @commitlint/cli\n```\n\n## Usage\n\nAfter installing it, apply the config to `commitlint` by running the following command:\n\n```sh\necho \"module.exports = { extends: ['@rocketseat/commitlint-config'] };\" \u003e .commitlintrc.js\n```\n\n## Bonus\n\nTo lint commits before they are created, install Husky and use the 'commit-msg' hook.\n\n```sh\n# Npm\nnpm i -D husky\n\n# Yarn\nyarn add -D husky\n```\n\nAfter that, you can create a `.huskyrc` file or add to your `package.json` the following code for\n\nHusky v4:\n\n```json\n{\n  \"husky\": {\n    \"hooks\": {\n      \"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\"\n    }\n  }\n}\n```\n\nHusky v5:\n\n```\n# .husky/commit-msg\n# ...\nnpx --no-install commitlint --edit $1\n# or\nyarn commitlint --edit $1\n```\n\n## Version Support\n\n- Node.js [LTS](https://github.com/nodejs/LTS#lts-schedule) `\u003e= 10.21.0`\n- git `\u003e= 2.13.2`\n\n## License\n\nMIT License © [Rocketseat](https://github.com/Rocketseat)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketseat%2Fcommitlint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketseat%2Fcommitlint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketseat%2Fcommitlint-config/lists"}