{"id":26317210,"url":"https://github.com/alexmarqs/commitlint-config","last_synced_at":"2025-07-16T20:35:51.660Z","repository":{"id":57096433,"uuid":"392354914","full_name":"alexmarqs/commitlint-config","owner":"alexmarqs","description":"⚙️ My shareable commitlint config","archived":false,"fork":false,"pushed_at":"2021-08-06T18:12:30.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T12:48:55.971Z","etag":null,"topics":["commitlint","commitlint-config"],"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/alexmarqs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-03T15:00:22.000Z","updated_at":"2023-03-07T14:18:31.000Z","dependencies_parsed_at":"2022-08-20T16:10:30.033Z","dependency_job_id":null,"html_url":"https://github.com/alexmarqs/commitlint-config","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/alexmarqs/commitlint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmarqs%2Fcommitlint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmarqs%2Fcommitlint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmarqs%2Fcommitlint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmarqs%2Fcommitlint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexmarqs","download_url":"https://codeload.github.com/alexmarqs/commitlint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmarqs%2Fcommitlint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265538626,"owners_count":23784622,"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"],"created_at":"2025-03-15T13:18:46.531Z","updated_at":"2025-07-16T20:35:51.636Z","avatar_url":"https://github.com/alexmarqs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @alexmarqs/commitlint-config\n\nShareable [`commitlint`](https://github.com/conventional-changelog/commitlint) config used in personal projects.\n\n[![npm version](https://badge.fury.io/js/%40alexmarqs%2Fcommitlint-config.svg)](https://badge.fury.io/js/%40alexmarqs%2Fcommitlint-config)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n## How to install\n\n```sh\n# Install commitlint-config\nnpm install -D @alexmarqs/commitlint-config @commitlint/cli\n# or\nyarn add -D @alexmarqs/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\n# Note: configuration is picked up from commitlint.config.js, .commitlintrc.js, .commitlintrc.json, or .commitlintrc.yml file or a commitlint field in package.json\necho \"module.exports = { extends: ['@alexmarqs/commitlint-config'] };\" \u003e .commitlintrc.js\n```\n\n## Husky integration\n\nTo lint commits before they are created you can use install Husky and use the `commit-msg` hook:\n\n```sh\n# Install Husky\nnpm install husky -D\n# or\nyarn add husky -D\n\n# Activate hooks (you can configure this in the 'prepare' life cycle script)\nnpx husky install\n# or\nyarn husky install\n\n# Add hook\nnpx husky add .husky/commit-msg 'npx --no-install commitlint --edit \"$1\"'\n# or\nyarn husky add .husky/commit-msg 'yarn commitlint --edit $1'\n```\n\nFor version 4 and under of Husky use the following instructions instead in your `package.json`:\n\n```json\n// package.json\n{\n  \"husky\": {\n    \"hooks\": {\n      \"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\"\n    }\n  }\n}\n```\n\n## License\n\nMIT License © [alexmarqs](https://github.com/alexmarqs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmarqs%2Fcommitlint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexmarqs%2Fcommitlint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmarqs%2Fcommitlint-config/lists"}