{"name":"@commitlint/config-angular","version":"20.4.4","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":"Mario Nebl <hello@herebecode.com>","license":"MIT","_id":"@commitlint/config-angular@20.4.4","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"}],"homepage":"https://commitlint.js.org/","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"dist":{"shasum":"c7cab859a18e7bdecbd3e3ec677df65ecee06c68","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-20.4.4.tgz","fileCount":4,"integrity":"sha512-sXxTQLw86nambAh5Wno0fNpfAPDwJ+HkfPUvZ87MCORe0sfEZlYXVZD47hpUl46xrU+kpfJl/JAIrcPTSauwyQ==","signatures":[{"sig":"MEQCIAMitVvHYOMYV0jkRtESBJJB1hPmi7PJ6uTk47Bqu4gNAiATcT9MUa/fck1kQk6MtOtCktlQTs7c3Qe7Lx7wr6xz8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6176,"size":2520,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-20.4.4.tgz"},"main":"index.js","type":"module","engines":{"node":">=v18"},"gitHead":"02d7245e9b204ed07a68298e4d73c8d82a4b7f81","scripts":{"pkg":"pkg-check --skip-import","deps":"dep-check"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"repository":{"url":"https://github.com/conventional-changelog/commitlint.git","type":"git","directory":"@commitlint/config-angular"},"_npmVersion":"lerna/8.2.4/node@v20.19.5+arm64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@commitlint/config-angular-type-enum":"^20.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@commitlint/lint":"^20.4.4","@commitlint/utils":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_20.4.4_1773308113466_0.9543458497377635","host":"s3://npm-registry-packages-npm-production"},"readme":"# @commitlint/config-angular\n\nLint your commits, angular-style\n\nShareable `commitlint` config enforcing the [Angular commit convention](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit).\nUse with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli).\n\n## Getting started\n\n```sh\nnpm install --save-dev @commitlint/config-angular @commitlint/cli\necho \"export default {extends: ['@commitlint/config-angular']};\" > commitlint.config.js\n```\n\n## Rules\n\n### Problems\n\nThe following rules are considered problems for `@commitlint/config-angular` and will yield a non-zero exit code when not met.\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- **value**\n\n  ```\n  [\n    'build',\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- **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\n```sh\necho \": some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### scope-case\n\n- **condition**: `scope` is in case `value`\n- **rule**: `always`\n\n```\n'lowerCase'\n```\n\n```sh\necho \"fix(SCOPE): some message\" # fails\necho \"fix(scope): 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\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\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- **value**\n\n```\n'.'\n```\n\n```sh\necho \"fix: some message.\" # fails\necho \"fix: some message\" # passes\n```\n\n#### subject-exclamation-mark\n\n- **condition**: `subject` must not have a `!` before the `:` marker\n- **rule**: `never`\n\nThe [angular commit\nconvention](hhttps://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit)\ndoes not use a `!` to define a breaking change in the commit subject. If you\nwant to use this feature please consider using the [conventional commit\nconfig](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#commitlintconfig-conventional).\n\n#### header-max-length\n\n- **condition**: `header` has `value` or less characters\n- **rule**: `always`\n- **value**\n\n```\n72\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### Warnings\n\nThe following rules are considered warnings for `@commitlint/config-angular` and will print warning messages when not met.\n\n#### body-leading-blank\n\n- **condition**: Body begins with blank line\n- **rule**: `always`\n","publish_time":1773308113613,"_cnpm_publish_time":1773308113613,"dist-tags":{"latest":"21.2.4"}}