{"name":"@commitlint/config-angular","version":"17.6.1","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@17.6.1","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":"ea1b391d5c778b0f9ed1885d9210e3844e4d6881","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-17.6.1.tgz","fileCount":4,"integrity":"sha512-6dOFX0AwdP+rrMGFe/X2u9n4GeM7oWf7WbbNohbwJeDkKStFG7RxA3RV9bUldovoS1qTS0f8NP3vjQbxSsOHJw==","signatures":[{"sig":"MEQCIFPJqsVWTa/2OJkiXXcM17rj/8SZj9X2aurLhrJEf1SmAiAR+IPgr5P9sPcsUZMDcxj8K044mQk9S/Bd9liD1+0RWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOQ3IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYmQ//XWqVjVXcI29L/M1rY9grv9JSqSUSiF90tohyPtDexpaPeS+m\r\n6+Ugn+G0ssUCyUiw/NHKOzqwQMgtHEqCXhSKv5Uba/3wCnneu2n2Twx5oxCg\r\ndAVJLX6O0eGHiT3VTQjBOrlSr2wWZzyHg5sXjblwRbkSAhxn1q621YsrAHzX\r\n7y+NGaGjv1Nyq9skIjvpX954kbWc17Qizp+2GEIdxT5B3Mbmlo72VlZ8wLfo\r\nHbiokOPX06lytZ9EGDm2Us2Nj/CptHN0Pf+DlbW5bgIN+fjrnymGi7KnSPjV\r\nn6XRvy8TRsT3AgaoBBLHG2ZoIZWL7XJeozg/UN7L2XkREK76yRewAWV8GbFG\r\n6m8wBtbA2XdpOhOs0RZOyWnqZMqulPlr6r5t/7t4ZTR6A5CjFAyhRd5zc6cx\r\nNAPQP5/Tbp7knceC1WZ/Fxnz9ktAOJ01okA1hGZQPnFX8MqbsdhfA40Nhk13\r\nP3CTVXv6KdtByJNDccN6RuNYprqsPZu8QjtntHfb4XeVpDXeqE1wEgqOa8H6\r\n+xjk+EWpqDnzuaHxzOG9iRaTY8ghRhKk1Do+qB+JN0b400QqqJ6a2gzYNIXy\r\nwNqZDFpYBGgo81+N2Nbkp2wfpZRQWN8icIfHAe3jUc1ScXZoEa7sZNj1HU5a\r\nHk2BpqUJWSYeoNR/8HCyUo4ll8Gh4IFudls=\r\n=rqPH\r\n-----END PGP SIGNATURE-----\r\n","size":2496,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-17.6.1.tgz"},"engines":{"node":">=v14"},"gitHead":"5da1048f87abfdab8419df88a69d8fe60016e60f","scripts":{"pkg":"pkg-check --skip-import","deps":"dep-check"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"repository":{"url":"git+https://github.com/conventional-changelog/commitlint.git","type":"git","directory":"@commitlint/config-angular"},"_npmVersion":"lerna/6.4.1/node@v16.3.0+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"16.3.0","dependencies":{"@commitlint/config-angular-type-enum":"^17.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@commitlint/lint":"^17.6.1","@commitlint/utils":"^17.4.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_17.6.1_1681460680696_0.7045279938062174","host":"s3://npm-registry-packages"},"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":1681460680870,"_cnpm_publish_time":1681460680870,"dist-tags":{"latest":"21.2.4"}}