{"name":"@commitlint/config-conventional","type":"module","version":"19.6.0","description":"Shareable commitlint config enforcing conventional commits","main":"lib/index.js","scripts":{"deps":"dep-check","pkg":"pkg-check"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/conventional-changelog/commitlint.git","directory":"@commitlint/config-conventional"},"keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"homepage":"https://commitlint.js.org/","engines":{"node":">=v18"},"devDependencies":{"@commitlint/lint":"^19.6.0","@commitlint/utils":"^19.5.0"},"dependencies":{"@commitlint/types":"^19.5.0","conventional-changelog-conventionalcommits":"^7.0.2"},"gitHead":"d33cbb7d4fe06a4f4c95518b9c95ef2cad9cd648","types":"./lib/index.d.ts","_id":"@commitlint/config-conventional@19.6.0","_nodeVersion":"18.20.4","_npmVersion":"lerna/6.4.1/node@v18.20.4+arm64 (darwin)","dist":{"integrity":"sha512-DJT40iMnTYtBtUfw9ApbsLZFke1zKh6llITVJ+x9mtpHD08gsNXaIRqHTmwTZL3dNX5+WoyK7pCN/5zswvkBCQ==","shasum":"badba72c8639ea79291e2941001bd7ea7fad3a2c","tarball":"http://registry-npm.ywwl.com/@commitlint/config-conventional/download/@commitlint/config-conventional-19.6.0.tgz","fileCount":7,"unpackedSize":18529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQHM2NnzNAeOZSJj9rX0EJQHQm5DXjMqCbDbtroE3kHAiAPSSD3ZcUAoRex1gFNAf/umuGzfACfNtNg1zXohXUMBg=="}],"size":4689,"noattachment":false,"key":"/@commitlint/config-conventional/-/@commitlint/config-conventional-19.6.0.tgz"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-conventional_19.6.0_1732012781054_0.3833211349536658"},"_hasShrinkwrap":false,"readme":"# @commitlint/config-conventional\n\nLint your conventional commits\n\nShareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/).\nUse with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli).\n\n## Getting started\n\n```sh\nnpm install --save-dev @commitlint/config-conventional @commitlint/cli\necho \"export default {extends: ['@commitlint/config-conventional']};\" > commitlint.config.js\n```\n\n## Rules\n\n### Problems\n\nThe following rules are considered problems for `@commitlint/config-conventional` and will yield a non-zero exit code when not met.\n\nConsult [Rules reference](https://commitlint.js.org/reference/rules) for a list of available rules.\n\n#### type-enum\n\n- **condition**: `type` is found in value\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n  ```\n  [\n    'build',\n    'chore',\n    'ci',\n    'docs',\n    'feat',\n    'fix',\n    'perf',\n    'refactor',\n    'revert',\n    'style',\n    'test'\n  ];\n  ```\n\n```sh\necho \"foo: some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### type-case\n\n- **description**: `type` is in case `value`\n- **rule**: `always`\n- **level**: `error`\n- **value**\n  ```\n  'lowerCase'\n  ```\n\n```sh\necho \"FIX: some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### type-empty\n\n- **condition**: `type` is empty\n- **rule**: `never`\n- **level**: `error`\n\n```sh\necho \": some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### subject-case\n\n- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']`\n- **rule**: `never`\n- **level**: `error`\n\n```sh\necho \"fix(SCOPE): Some message\" # fails\necho \"fix(SCOPE): Some Message\" # fails\necho \"fix(SCOPE): SomeMessage\" # fails\necho \"fix(SCOPE): SOMEMESSAGE\" # fails\necho \"fix(scope): some message\" # passes\necho \"fix(scope): some Message\" # passes\n```\n\n#### subject-empty\n\n- **condition**: `subject` is empty\n- **rule**: `never`\n- **level**: `error`\n\n```sh\necho \"fix:\" # fails\necho \"fix: some message\" # passes\n```\n\n#### subject-full-stop\n\n- **condition**: `subject` ends with `value`\n- **rule**: `never`\n- **level**: `error`\n- **value**\n\n```\n'.'\n```\n\n```sh\necho \"fix: some message.\" # fails\necho \"fix: some message\" # passes\n```\n\n#### header-max-length\n\n- **condition**: `header` has `value` or less characters\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n```\n100\n```\n\n```sh\necho \"fix: some message that is way too long and breaks the line max-length by several characters\" # fails\necho \"fix: some message\" # passes\n```\n\n#### footer-leading-blank\n\n- **condition**: `footer` should have a leading blank line\n- **rule**: `always`\n- **level**: `warning`\n\n```sh\necho \"fix: some message\nBREAKING CHANGE: It will be significant\" # warning\n\necho \"fix: some message\n\nBREAKING CHANGE: It will be significant\" # passes\n```\n\n#### footer-max-line-length\n\n- **condition**: `footer` each line has `value` or less characters\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n```\n100\n```\n\n```sh\necho \"fix: some message\n\nBREAKING CHANGE: footer with multiple lines\nhas a message that is way too long and will break the line rule 'line-max-length' by several characters\" # fails\n\necho \"fix: some message\n\nBREAKING CHANGE: footer with multiple lines\nbut still no line is too long\" # passes\n```\n\n#### body-leading-blank\n\n- **condition**: `body` should have a leading blank line\n- **rule**: `always`\n- **level**: `warning`\n\n```sh\necho \"fix: some message\nbody\" # warning\n\necho \"fix: some message\n\nbody\" # passes\n```\n\n#### body-max-line-length\n\n- **condition**: `body` each line has `value` or less characters\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n```\n100\n```\n\n```sh\necho \"fix: some message\n\nbody with multiple lines\nhas a message that is way too long and will break the line rule 'line-max-length' by several characters\" # fails\n\necho \"fix: some message\n\nbody with multiple lines\nbut still no line is too long\" # passes\n```\n","publish_time":1732012781298,"maintainers":[{"name":"marionebl","email":"hello@mario-nebl.de"},{"name":"martinhelmut","email":"info@martin-fieber.se"},{"name":"escapedcat","email":"npm@htmlcss.de"},{"name":"bycedric","email":"me@bycedric.com"}],"_cnpm_publish_time":1732012781298,"dist-tags":{"latest":"21.2.4","release-v18":"18.6.3"}}