{"_id":"@alexmarqs/commitlint-config","_rev":"4-f8852146dafc72967783b1a3c0ad7ffd","time":{"0.0.1":"2021-08-03T15:32:18.856Z","created":"2021-08-04T17:07:06.303Z","1.0.0":"2021-08-04T17:07:06.483Z","modified":"2022-04-04T12:41:15.814Z"},"name":"@alexmarqs/commitlint-config","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alexmarqs/commitlint-config","version":"1.0.0","description":"Personal shareable commitlint config","main":"index.js","publishConfig":{"access":"public"},"author":{"name":"Alexandre Marques"},"license":"MIT","keywords":["commitlint","commitlint-config","config"],"repository":{"type":"git","url":"git+https://github.com/alexmarqs/commitlint-config.git"},"bugs":{"url":"https://github.com/alexmarqs/commitlint-config/issues"},"homepage":"https://github.com/alexmarqs/commitlint-config#readme","engines":{"node":">=v10"},"gitHead":"31e365f0eb52b451409eb5752b243ee16a12adae","_id":"@alexmarqs/commitlint-config@1.0.0","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-j+RYzbIIz7AgM2tLJFtQ5LrX9jgqzpKuVUVqnb56vi2pivsgdbw6Z8sQejvXo6NPgPGdsUXaciWRa7EFOYHR0A==","shasum":"88335533dc023cc1658822bf961f157b223ca2b8","tarball":"https://registry.npmjs.org/@alexmarqs/commitlint-config/-/commitlint-config-1.0.0.tgz","fileCount":4,"unpackedSize":3973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCsk6CRA9TVsSAnZWagAAS3cQAJwMHszsV/yO/BG8+tjC\nOuTD4pTKkgjDFV0QnyStZIxjIrVdaHfEzUf0WrLinjgPCcSPhtlNWC+HoIgh\nMpnv6Kgna+MAkDH3gKua7P7Xx+B+kQwiD5mrATlEP21p793pv5xKfAIJEiyA\ns+Vdld0jcB1CWYpk4NhfI+yWmDbewZqW01GuE6Pt49pL0usCn8G66ZFtFJdc\n6eUshf3AV8sWIFJnxPvVKHixvZi81vMq/+ZZhV9VaWgNn1ST+tcAKY4qrguz\nD7gT86Q+YC+cCmRHgEXxkw/Sm+igejvN97d77ABrHaRHp0AweDm7j7opcgKR\nnGJb3IhrU1J4tV2KgFPvtViCLp7CmCiGeXMiPB1Fc/c21Aum5+/KMKQJHa5I\nuDXqdvRO/YZ+qefFS1+xxd6pc5Nahe6nZqWOKyn4r29+X8UbDeghkulSgHsA\nhiCY6fH6LD8jbb4xVtdSBBSsmvD1UtyzJMEU+7Xdhqo10cQE2mlGpt7TnafQ\nleIBV6B/9TZ9AZ+rBb7YzFk6lg3c275b+F6CLVZTatz6G8UPqzbX2y04+BAi\n9Qgo6eagKxwknGGjJ79qtDtqC1qpc56DKsz6dUqz9kc1F5UlCwArT05Q6ydY\n5om5KW8R+JVTmMBoQ7Hp4uclKPI2xUpHwMu8PfaNWtedaDEIAvfxxrvmUYN4\nW12z\r\n=5Q/Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf2A+ayO2t0FouGmnmw3PQ+6PYUc3GXxGuVcFNn3nVuQIgB0QpKwGeNwW9cF4igs1wTwULbIE1zyMDPj4kjEAQLc8="}]},"_npmUser":{"name":"alexmarqs","email":"pt.alexandremarques@gmail.com"},"directories":{},"maintainers":[{"name":"alexmarqs","email":"pt.alexandremarques@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commitlint-config_1.0.0_1628096826358_0.5384749487687677"},"_hasShrinkwrap":false}},"maintainers":[{"name":"alexmarqs","email":"pt.alexandremarques@gmail.com"}],"description":"Personal shareable commitlint config","homepage":"https://github.com/alexmarqs/commitlint-config#readme","keywords":["commitlint","commitlint-config","config"],"repository":{"type":"git","url":"git+https://github.com/alexmarqs/commitlint-config.git"},"author":{"name":"Alexandre Marques"},"bugs":{"url":"https://github.com/alexmarqs/commitlint-config/issues"},"license":"MIT","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'] };\" > .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","readmeFilename":"README.md"}