{"name":"@commitlint/config-angular","version":"16.2.4","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@16.2.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":"25b17839868c4af4c1626178369514d3b55df05b","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-16.2.4.tgz","fileCount":5,"integrity":"sha512-ASxCg8ueW+z1J2VK4vy+SQSCIiRQ1cHsNMvgQ3Qq4YVCAFc/A1vIqqQ744od8TsxvlLsNChZOU1vwRrM7n40Bw==","signatures":[{"sig":"MEYCIQDb3P2EnFKK3BiQZngcjWm5arnvpGHnQfIm6Pj1PV/yxQIhAIelEgMR04HUhYroPYbhIVwpMSHKq0NknlKjutFmKolK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiafLJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7Bg/9GOzu7Ne4K5FF+EvyMTnrQGwlZB82XG2h2jB7DzOjD+wt+x08\r\nmt7OWepvl7scqy5/3gOFBzAUmUHlGP8TmEm2zcqDva2x91Zu05v3l+7zMD9r\r\ncF8f/+D0DsRTAz5a60umMbMn/UV8Qynl7Y1oGmUhIjqkz7FseAU7I/vGkNCl\r\nmZWsXp85LGcYREBUKLoCqJCtjpoYuADHiOMhR1ZdQ8vZpXgy+jCAB4jHdb2Z\r\ntWy4PKaL/LQP2jypqVut1i2e4H3Pbz2++t8Sdzs5nXX3YVuEg0nKV3po1ztX\r\ndJImc5gEvRfdezP7SIcitegoqNH/kF4ZsbzW+E2BfjvgVw5o8AH4DAXqxMiW\r\n1csABD5sGKItQNUHgC0Bk4jENzS0QKJH+gn0VqQgKKxf0cRU9vGLtJiv/wY+\r\nI+lLmfN8AojEElxG3b3LalyIgnC8aB8Gjw3nVoN+Itp4/9R3Gda7yDC2XUz/\r\nl3kHVN/f+t+Za9vM6qoYFMjF1x2IGn46BlPyJtgYw396yxSnB+mialMkHazi\r\n7EflHVqp2IH4XgNUKhq5kpeTr+6IflTLVVxtG52WsRWEZmUiXlB+yUbib+fg\r\nHDSI2Si0pQnPilzzWOMF7d0PCkZxZJ7/+g40i/VQypK/GS+mWoMpxze2psHb\r\ngXmC7+CmraZy9kG0r/ocxQFXl6flIPcthD4=\r\n=gukI\r\n-----END PGP SIGNATURE-----\r\n","size":4102,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-16.2.4.tgz"},"engines":{"node":">=v12"},"gitHead":"62dd082f8f40c9d64ab76ef72ca8c03a3e219426","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/4.0.0/node@v14.18.0+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"14.18.0","dependencies":{"@commitlint/config-angular-type-enum":"^16.2.1"},"_hasShrinkwrap":false,"devDependencies":{"@commitlint/lint":"^16.2.4","@commitlint/utils":"^16.2.1"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_16.2.4_1651110601115_0.12752635293002235","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":1651110601264,"_cnpm_publish_time":1651110601264,"dist-tags":{"latest":"21.2.4"}}