{"name":"@commitlint/config-angular","version":"7.6.0","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@7.6.0","maintainers":[{"name":"bycedric","email":"me@bycedric.com"},{"name":"escapedcat","email":"npm@htmlcss.de"},{"name":"marionebl","email":"hello@mario-nebl.de"},{"name":"martinhelmut","email":"info@martin-fieber.de"}],"homepage":"https://github.com/conventional-changelog/commitlint#readme","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"dist":{"shasum":"41d4ce9698d9ae5eb858a8a8e90bc64e1507f3a3","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-7.6.0.tgz","fileCount":5,"integrity":"sha512-Rt0LxOTMxR0a6CWF3U5Y8zCMXz7vJqGrR0fBxjRw6fjndKehED78gbphiqKxjDaTJ4NDs259urR/BPhHCkYuAg==","signatures":[{"sig":"MEYCIQCJD2d5Ki6AGTqPbPtJazO3XEGP0j+Y2ZC8bY3lDQA87wIhAOHIFJvde9aOdEIqbKIGvPknrHX8JvB4J04NR0bJ9l3C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0MMaCRA9TVsSAnZWagAAF9QP/jLEw6G586TC5BEcfFzK\nxiY/NdoXx+oDMQ/RcFTaIpz5LqtG0bXfarW1t/+b3Uz4aL67TUIm3EVdqqlS\nZjIx3cYyc7a5A2PTpQBAKhDiIw2wOck5vI0DD4/PvHWjESQ2mNsYsn0PnOjh\n+HSn40OJsGPwVzG539f36XLG8viYxawQT3GbmZAWsEhhK3c+LkbYEWKT9WrW\njhdbz3NAxC/lvVgkjetiyJyIgtNiRGY4w3gkH6sx8Dd7ycjKmud2sqsPQ9y5\nhmuWpSSJC4YGqrnrFiDdDVL1pNwDyZacbsTsH692YkSoDm204Vact/kGgHh+\nZRCi/MjrehbXVL1MZtlgRthD3jKf9+1gfyFgQnz2frU0ZG4/qfRyIm6B+oF3\nFpwoJQVZTGlxYk9tY1sIZdVEtCjp8xH15rvK1fsdiz2rZp9Bkk+xJf7RVdt4\nmQg28bajDGNeECB83ixyZXkjceHmipS73Ejv8MtPr8zN3wommKTwG9myNRpg\n05WQEdWCoqFtY5X9+FX0YHyn4WF3x25ZbCIMeZq4vcfd75EMadXeJquI7xZf\nV/h5bxgRafjeHGUPBoqzUxKD55L0DqialxB9SdmeQ1hfRymtNLH7LwRToaBy\nJ0GU3Ac4LRx22N+hIe/poW+zBey2MnK23rdC+kPuTZkirUAWEkaqZTv3sVqQ\nVpmL\r\n=zvbL\r\n-----END PGP SIGNATURE-----\r\n","size":3172,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-7.6.0.tgz"},"scripts":{"pkg":"pkg-check --skip-import","deps":"dep-check","test":"exit 0","clean":"exit 0","start":"exit 0"},"_npmUser":{"name":"marionebl","email":"hello@mario-nebl.de"},"repository":{"url":"git+https://github.com/conventional-changelog/commitlint.git","type":"git"},"_npmVersion":"5.8.0","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"8.11.4","dependencies":{"@commitlint/config-angular-type-enum":"^7.6.0"},"_hasShrinkwrap":false,"devDependencies":{"@commitlint/utils":"^7.6.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_7.6.0_1557185306175_0.8967704949720887","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":1557185306327,"_cnpm_publish_time":1557185306327,"dist-tags":{"latest":"21.2.4"}}